summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-landisk
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-19 05:55:41 +0100
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 05:55:41 +0100
commitf33609344acfdde1c1acedf6de3efe6b80af93a6 (patch)
treed0a57730da1d09696ab63cb0af8998350c5d540c /arch/sh/boards/mach-landisk
parentsh: Kill off duplicate address alignment in ioremap_fixed(). (diff)
downloadlinux-f33609344acfdde1c1acedf6de3efe6b80af93a6.tar.xz
linux-f33609344acfdde1c1acedf6de3efe6b80af93a6.zip
sh: Convert p3_ioremap() users to ioremap_prot().
This kills off the ancient p3_ioremap(), converting over to the more generic ioremap_prot() instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-landisk')
-rw-r--r--arch/sh/boards/mach-landisk/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-landisk/setup.c b/arch/sh/boards/mach-landisk/setup.c
index 59816355d199..2d09d4d34f87 100644
--- a/arch/sh/boards/mach-landisk/setup.c
+++ b/arch/sh/boards/mach-landisk/setup.c
@@ -63,7 +63,7 @@ static int __init landisk_devices_setup(void)
/* open I/O area window */
paddrbase = virt_to_phys((void *)PA_AREA5_IO);
prot = PAGE_KERNEL_PCC(1, _PAGE_PCC_IO16);
- cf_ide_base = p3_ioremap(paddrbase, PAGE_SIZE, prot);
+ cf_ide_base = ioremap_prot(paddrbase, PAGE_SIZE, pgprot_val(prot));
if (!cf_ide_base) {
printk("allocate_cf_area : can't open CF I/O window!\n");
return -ENOMEM;