aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/fsmc_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
index 4dda9bb38334..cfe15a6f29d0 100644
--- a/drivers/mtd/nand/fsmc_nand.c
+++ b/drivers/mtd/nand/fsmc_nand.c
@@ -604,7 +604,7 @@ static int fsmc_correct_data(struct mtd_info *mtd, uint8_t *dat,
604 struct nand_chip *chip = mtd->priv; 604 struct nand_chip *chip = mtd->priv;
605 struct fsmc_regs *regs = host->regs_va; 605 struct fsmc_regs *regs = host->regs_va;
606 unsigned int bank = host->bank; 606 unsigned int bank = host->bank;
607 uint16_t err_idx[8]; 607 uint32_t err_idx[8];
608 uint64_t ecc_data[2]; 608 uint64_t ecc_data[2];
609 uint32_t num_err, i; 609 uint32_t num_err, i;
610 610