diff options
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index b7c93173e77b..23875bf6aa3b 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -94,9 +94,6 @@ enum { | |||
94 | UBI_IO_BITFLIPS | 94 | UBI_IO_BITFLIPS |
95 | }; | 95 | }; |
96 | 96 | ||
97 | extern int ubi_devices_cnt; | ||
98 | extern struct ubi_device *ubi_devices[]; | ||
99 | |||
100 | /** | 97 | /** |
101 | * struct ubi_wl_entry - wear-leveling entry. | 98 | * struct ubi_wl_entry - wear-leveling entry. |
102 | * @rb: link in the corresponding RB-tree | 99 | * @rb: link in the corresponding RB-tree |
@@ -401,6 +398,7 @@ extern struct kmem_cache *ubi_ltree_slab; | |||
401 | extern struct kmem_cache *ubi_wl_entry_slab; | 398 | extern struct kmem_cache *ubi_wl_entry_slab; |
402 | extern struct file_operations ubi_cdev_operations; | 399 | extern struct file_operations ubi_cdev_operations; |
403 | extern struct file_operations ubi_vol_cdev_operations; | 400 | extern struct file_operations ubi_vol_cdev_operations; |
401 | extern struct ubi_device *ubi_devices[]; | ||
404 | extern struct class *ubi_class; | 402 | extern struct class *ubi_class; |
405 | 403 | ||
406 | /* vtbl.c */ | 404 | /* vtbl.c */ |