From a3624bc1a602d457fc42f981ed7b412c8a4ec5c9 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Mon, 27 Oct 2008 12:04:55 +0100 Subject: [imx] nand: use __iomem annotation This patche adds __iomem annotation to the nand_imx nand driver. Signed-off-by: Marc Kleine-Budde --- drivers/nand/nand_imx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') 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); -- cgit v1.2.3