diff options
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
-rw-r--r-- | drivers/mtd/ubi/vtbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index f3fbaa9ec7f2..c9b828a69609 100644 --- a/drivers/mtd/ubi/vtbl.c +++ b/drivers/mtd/ubi/vtbl.c | |||
@@ -303,7 +303,7 @@ static int create_vtbl(struct ubi_device *ubi, struct ubi_scan_info *si, | |||
303 | { | 303 | { |
304 | int err, tries = 0; | 304 | int err, tries = 0; |
305 | struct ubi_vid_hdr *vid_hdr; | 305 | struct ubi_vid_hdr *vid_hdr; |
306 | struct ubi_scan_leb *new_seb; | 306 | struct ubi_ainf_peb *new_seb; |
307 | 307 | ||
308 | ubi_msg("create volume table (copy #%d)", copy + 1); | 308 | ubi_msg("create volume table (copy #%d)", copy + 1); |
309 | 309 | ||
@@ -378,7 +378,7 @@ static struct ubi_vtbl_record *process_lvol(struct ubi_device *ubi, | |||
378 | { | 378 | { |
379 | int err; | 379 | int err; |
380 | struct rb_node *rb; | 380 | struct rb_node *rb; |
381 | struct ubi_scan_leb *seb; | 381 | struct ubi_ainf_peb *seb; |
382 | struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; | 382 | struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; |
383 | int leb_corrupted[UBI_LAYOUT_VOLUME_EBS] = {1, 1}; | 383 | int leb_corrupted[UBI_LAYOUT_VOLUME_EBS] = {1, 1}; |
384 | 384 | ||