diff options
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r-- | drivers/mtd/ubi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c index 2135a53732ff..a3a198f9b98d 100644 --- a/drivers/mtd/ubi/scan.c +++ b/drivers/mtd/ubi/scan.c | |||
@@ -1347,7 +1347,7 @@ static int paranoid_check_si(struct ubi_device *ubi, struct ubi_scan_info *si) | |||
1347 | struct ubi_scan_leb *seb, *last_seb; | 1347 | struct ubi_scan_leb *seb, *last_seb; |
1348 | uint8_t *buf; | 1348 | uint8_t *buf; |
1349 | 1349 | ||
1350 | if (!(ubi_chk_flags & UBI_CHK_GEN)) | 1350 | if (!ubi->dbg->chk_gen) |
1351 | return 0; | 1351 | return 0; |
1352 | 1352 | ||
1353 | /* | 1353 | /* |