diff options
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 5e941a633030..318ce2543fb8 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -204,7 +204,6 @@ struct ubi_wl_entry; | |||
204 | * @cdev: character device object to create character device | 204 | * @cdev: character device object to create character device |
205 | * @ubi_num: UBI device number | 205 | * @ubi_num: UBI device number |
206 | * @ubi_name: UBI device name | 206 | * @ubi_name: UBI device name |
207 | * @major: character device major number | ||
208 | * @vol_count: number of volumes in this UBI device | 207 | * @vol_count: number of volumes in this UBI device |
209 | * @volumes: volumes of this UBI device | 208 | * @volumes: volumes of this UBI device |
210 | * @volumes_lock: protects @volumes, @rsvd_pebs, @avail_pebs, beb_rsvd_pebs, | 209 | * @volumes_lock: protects @volumes, @rsvd_pebs, @avail_pebs, beb_rsvd_pebs, |
@@ -287,7 +286,6 @@ struct ubi_device { | |||
287 | struct device dev; | 286 | struct device dev; |
288 | int ubi_num; | 287 | int ubi_num; |
289 | char ubi_name[sizeof(UBI_NAME_STR)+5]; | 288 | char ubi_name[sizeof(UBI_NAME_STR)+5]; |
290 | int major; | ||
291 | int vol_count; | 289 | int vol_count; |
292 | struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; | 290 | struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; |
293 | spinlock_t volumes_lock; | 291 | spinlock_t volumes_lock; |