diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c index e778a2b..d319b96 100644 --- a/drivers/nand/nand_imx.c +++ b/drivers/nand/nand_imx.c @@ -1006,7 +1006,7 @@ 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 @@ host.pagesize_2k = 1; } - host.regs = (void *)IMX_NFC_BASE; + host.regs = (void __iomem *)IMX_NFC_BASE; send_cmd(&host, NAND_CMD_RESET);