diff options
Diffstat (limited to 'drivers/mtd/ubi/vmt.c')
-rw-r--r-- | drivers/mtd/ubi/vmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/vmt.c b/drivers/mtd/ubi/vmt.c index 366eb70219a6..97e093d19672 100644 --- a/drivers/mtd/ubi/vmt.c +++ b/drivers/mtd/ubi/vmt.c | |||
@@ -871,7 +871,7 @@ static int paranoid_check_volumes(struct ubi_device *ubi) | |||
871 | { | 871 | { |
872 | int i, err = 0; | 872 | int i, err = 0; |
873 | 873 | ||
874 | if (!(ubi_chk_flags & UBI_CHK_GEN)) | 874 | if (!ubi->dbg->chk_gen) |
875 | return 0; | 875 | return 0; |
876 | 876 | ||
877 | for (i = 0; i < ubi->vtbl_slots; i++) { | 877 | for (i = 0; i < ubi->vtbl_slots; i++) { |