mtd: fsmc_nand: change the type for regs to void __iomem *
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>
This commit is contained in:
parent
db6364a650
commit
605add7db6
|
@ -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 nand_chip *this = mtd->priv;
|
||||||
struct fsmc_nand_data *host = container_of(mtd,
|
struct fsmc_nand_data *host = container_of(mtd,
|
||||||
struct fsmc_nand_data, mtd);
|
struct fsmc_nand_data, mtd);
|
||||||
void *__iomem *regs = host->regs_va;
|
void __iomem *regs = host->regs_va;
|
||||||
unsigned int bank = host->bank;
|
unsigned int bank = host->bank;
|
||||||
|
|
||||||
if (ctrl & NAND_CTRL_CHANGE) {
|
if (ctrl & NAND_CTRL_CHANGE) {
|
||||||
|
|
Loading…
Reference in a new issue