]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mtd: fsmc_nand: change the type for regs to void __iomem *
authorVipin Kumar <vipin.kumar@st.com>
Tue, 9 Oct 2012 10:44:43 +0000 (16:14 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 9 Nov 2012 15:02:53 +0000 (17:02 +0200)
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/fsmc_nand.c

index cb86450871517143977abfc618d083d13ddcbaee..a5bc3d5511e383ae3fbaffed8611796a2809e2c3 100644 (file)
@@ -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) {