Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- drivers/mtd/nand/nand_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c index 6ca8911..e2aaa15 100644 --- a/drivers/mtd/nand/nand_imx.c +++ b/drivers/mtd/nand/nand_imx.c @@ -518,7 +518,7 @@ static int imx_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat, struct nand_chip *nand_chip = mtd->priv; struct imx_nand_host *host = nand_chip->priv; u32 ecc_stat, err; - int no_subpages = 1; + int no_subpages; int ret = 0; u8 ecc_bit_mask, err_limit; -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox