diff options
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 64604e8809ec..6a5fe9633783 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -373,6 +373,7 @@ struct ubi_wl_entry; | |||
373 | * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset | 373 | * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset |
374 | * @bad_allowed: whether the MTD device admits of bad physical eraseblocks or | 374 | * @bad_allowed: whether the MTD device admits of bad physical eraseblocks or |
375 | * not | 375 | * not |
376 | * @nor_flash: non-zero if working on top of NOR flash | ||
376 | * @mtd: MTD device descriptor | 377 | * @mtd: MTD device descriptor |
377 | * | 378 | * |
378 | * @peb_buf1: a buffer of PEB size used for different purposes | 379 | * @peb_buf1: a buffer of PEB size used for different purposes |
@@ -454,7 +455,8 @@ struct ubi_device { | |||
454 | int vid_hdr_offset; | 455 | int vid_hdr_offset; |
455 | int vid_hdr_aloffset; | 456 | int vid_hdr_aloffset; |
456 | int vid_hdr_shift; | 457 | int vid_hdr_shift; |
457 | int bad_allowed; | 458 | unsigned int bad_allowed:1; |
459 | unsigned int nor_flash:1; | ||
458 | struct mtd_info *mtd; | 460 | struct mtd_info *mtd; |
459 | 461 | ||
460 | void *peb_buf1; | 462 | void *peb_buf1; |