diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-19 05:55:41 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-19 05:55:41 +0100 |
commit | f33609344acfdde1c1acedf6de3efe6b80af93a6 (patch) | |
tree | d0a57730da1d09696ab63cb0af8998350c5d540c /arch/sh/boards/mach-lboxre2 | |
parent | sh: Kill off duplicate address alignment in ioremap_fixed(). (diff) | |
download | linux-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-lboxre2')
-rw-r--r-- | arch/sh/boards/mach-lboxre2/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-lboxre2/setup.c b/arch/sh/boards/mach-lboxre2/setup.c index 408dd5df7d45..79b4e0d77b71 100644 --- a/arch/sh/boards/mach-lboxre2/setup.c +++ b/arch/sh/boards/mach-lboxre2/setup.c @@ -56,8 +56,8 @@ static int __init lboxre2_devices_setup(void) /* open I/O area window */ paddrbase = virt_to_phys((void*)PA_AREA5_IO); psize = PAGE_SIZE; - prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16); - cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot); + prot = PAGE_KERNEL_PCC(1, _PAGE_PCC_IO16); + cf0_io_base = (u32)ioremap_prot(paddrbase, psize, pgprot_val(prot)); if (!cf0_io_base) { printk(KERN_ERR "%s : can't open CF I/O window!\n" , __func__ ); return -ENOMEM; |