diff options
-rw-r--r-- | drivers/mtd/nand/mxs_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index 46dc7b1..28f284e 100644 --- a/drivers/mtd/nand/mxs_nand.c +++ b/drivers/mtd/nand/mxs_nand.c @@ -800,7 +800,7 @@ static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand, if (status[i] == 0xff) { #if defined(CONFIG_MX6QP) || defined(CONFIG_MX7) || defined(CONFIG_MX6UL) - if (readl(bch_regs->hw_bch_debug1)) + if (readl(&bch_regs->hw_bch_debug1)) flag = 1; #endif continue; |