summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-10-27 12:04:55 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-10-27 12:18:25 +0100
commita3624bc1a602d457fc42f981ed7b412c8a4ec5c9 (patch)
treea8de4f4f54cd8e438f979c05b0d905c56b522974
parent238b05148ebdabec0382442027a29b95120d4eee (diff)
downloadbarebox-a3624bc1a602d457fc42f981ed7b412c8a4ec5c9.tar.gz
barebox-a3624bc1a602d457fc42f981ed7b412c8a4ec5c9.tar.xz
[imx] nand: use __iomem annotation
This patche adds __iomem annotation to the nand_imx nand driver. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--drivers/nand/nand_imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c
index e778a2b39c..d319b96308 100644
--- a/drivers/nand/nand_imx.c
+++ b/drivers/nand/nand_imx.c
@@ -1006,7 +1006,7 @@ static int __init imxnd_probe(struct device_d *dev)
clk_enable(host->clk);
#endif
- host->regs = (void *)dev->map_base;
+ host->regs = (void __iomem *)dev->map_base;
tmp = readw(host->regs + NFC_CONFIG1);
tmp |= NFC_INT_MSK;
@@ -1119,7 +1119,7 @@ void __nand_boot_init imx_nand_load_image(void *dest, int size, int pagesize,
host.pagesize_2k = 1;
}
- host.regs = (void *)IMX_NFC_BASE;
+ host.regs = (void __iomem *)IMX_NFC_BASE;
send_cmd(&host, NAND_CMD_RESET);