summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-17 16:46:41 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-17 16:46:41 +0000
commit0c2e4b4ff38986e5b6f707d006799bff9663c802 (patch)
tree8eb0f82cb996813f85e7797226b210b73d804914 /drivers/mtd/nand
parent728f5c076ad000e547aa9e00d16792043ee1bfc6 (diff)
downloadop-kernel-dev-0c2e4b4ff38986e5b6f707d006799bff9663c802.zip
op-kernel-dev-0c2e4b4ff38986e5b6f707d006799bff9663c802.tar.gz
[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')
-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;
OpenPOWER on IntegriCloud