summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/h1910.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-17 16:46:41 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-17 16:46:41 (GMT)
commit0c2e4b4ff38986e5b6f707d006799bff9663c802 (patch)
tree8eb0f82cb996813f85e7797226b210b73d804914 /drivers/mtd/nand/h1910.c
parent728f5c076ad000e547aa9e00d16792043ee1bfc6 (diff)
downloadlinux-fsl-qoriq-0c2e4b4ff38986e5b6f707d006799bff9663c802.tar.xz
[ARM] Drivers should not make use of architecture private __ioremap
__ioremap is an architecture private interface and must not be used by drivers when the architecture independent interface will do just as well. Switch the ipaq drivers to use the correct interface. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/nand/h1910.c')
-rw-r--r--drivers/mtd/nand/h1910.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/h1910.c b/drivers/mtd/nand/h1910.c
index 041e4b3..f68f7a9 100644
--- a/drivers/mtd/nand/h1910.c
+++ b/drivers/mtd/nand/h1910.c
@@ -112,7 +112,7 @@ static int __init h1910_init (void)
if (!machine_is_h1900())
return -ENODEV;
- nandaddr = __ioremap(0x08000000, 0x1000, 0, 1);
+ nandaddr = ioremap(0x08000000, 0x1000);
if (!nandaddr) {
printk("Failed to ioremap nand flash.\n");
return -ENOMEM;