aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_85xx_cache_sram.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-05-08 21:43:47 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 14:30:43 +1000
commit40f1ce7fb7e8b5d4d0821c0f3dc866cb1d47d99c (patch)
tree5a0f977967bb6353753b034bfb32ab11c8226d30 /arch/powerpc/sysdev/fsl_85xx_cache_sram.c
parentbe135f40899cb3334faa7d2e27025055da311ec4 (diff)
powerpc: Remove ioremap_flags
We have a confusing number of ioremap functions. Make things just a bit simpler by merging ioremap_flags and ioremap_prot. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_85xx_cache_sram.c')
-rw-r--r--arch/powerpc/sysdev/fsl_85xx_cache_sram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_85xx_cache_sram.c b/arch/powerpc/sysdev/fsl_85xx_cache_sram.c
index 54fb1922fe3..11641589917 100644
--- a/arch/powerpc/sysdev/fsl_85xx_cache_sram.c
+++ b/arch/powerpc/sysdev/fsl_85xx_cache_sram.c
@@ -106,10 +106,10 @@ int __init instantiate_cache_sram(struct platform_device *dev,
goto out_free;
}
- cache_sram->base_virt = ioremap_flags(cache_sram->base_phys,
+ cache_sram->base_virt = ioremap_prot(cache_sram->base_phys,
cache_sram->size, _PAGE_COHERENT | PAGE_KERNEL);
if (!cache_sram->base_virt) {
- dev_err(&dev->dev, "%s: ioremap_flags failed\n",
+ dev_err(&dev->dev, "%s: ioremap_prot failed\n",
dev->dev.of_node->full_name);
ret = -ENOMEM;
goto out_release;