diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c index 72b7b0e..ce00ed4 100644 --- a/common/imx-bbu-nand-fcb.c +++ b/common/imx-bbu-nand-fcb.c @@ -259,8 +259,8 @@ static int read_fcb(struct mtd_info *mtd, int num, struct fcb_block **retfcb) { int i; - int bitflips = 0; - u8 parity, np, syndrome, bit_to_flip; + int bitflips = 0, bit_to_flip; + u8 parity, np, syndrome; u8 *fcb, *ecc; int ret; void *rawpage;