diff options
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r-- | drivers/mtd/ubi/scan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c index c3d653ba5ca0..72570ed7d33f 100644 --- a/drivers/mtd/ubi/scan.c +++ b/drivers/mtd/ubi/scan.c | |||
@@ -910,6 +910,8 @@ struct ubi_scan_info *ubi_scan(struct ubi_device *ubi) | |||
910 | if (si->is_empty) | 910 | if (si->is_empty) |
911 | ubi_msg("empty MTD device detected"); | 911 | ubi_msg("empty MTD device detected"); |
912 | 912 | ||
913 | ubi->image_seq_set = 1; | ||
914 | |||
913 | /* | 915 | /* |
914 | * In case of unknown erase counter we use the mean erase counter | 916 | * In case of unknown erase counter we use the mean erase counter |
915 | * value. | 917 | * value. |