From: Vipin Kumar Date: Tue, 9 Oct 2012 10:44:43 +0000 (+0530) Subject: mtd: fsmc_nand: change the type for regs to void __iomem * X-Git-Tag: next-20121112~69^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b6bd8137933e9679038f3d24aab7a25b6c466f1;p=karo-tx-linux.git mtd: fsmc_nand: change the type for regs to void __iomem * Signed-off-by: Vipin Kumar Reviewed-by: Linus Walleij Reviewed-by: Viresh Kumar Signed-off-by: Artem Bityutskiy --- diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index cb8645087151..a5bc3d5511e3 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c @@ -361,7 +361,7 @@ static void fsmc_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) struct nand_chip *this = mtd->priv; struct fsmc_nand_data *host = container_of(mtd, struct fsmc_nand_data, mtd); - void *__iomem *regs = host->regs_va; + void __iomem *regs = host->regs_va; unsigned int bank = host->bank; if (ctrl & NAND_CTRL_CHANGE) {