aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-16 06:01:03 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 12:15:15 -0500
commitb96bf4c33d4860bf1584ad2f9ed3b783d79aada8 (patch)
tree30eb7bd3d0de569dd5087b62aa11520d1490c7a6 /drivers/mtd/ubi/ubi.h
parent06b68ba15671f32a3aa3bbddf04b0d2dd7fbf902 (diff)
UBI: remove ubi_devices_cnt
This global variablea is not really needed, remove it Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h4
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
97extern int ubi_devices_cnt;
98extern 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;
401extern struct kmem_cache *ubi_wl_entry_slab; 398extern struct kmem_cache *ubi_wl_entry_slab;
402extern struct file_operations ubi_cdev_operations; 399extern struct file_operations ubi_cdev_operations;
403extern struct file_operations ubi_vol_cdev_operations; 400extern struct file_operations ubi_vol_cdev_operations;
401extern struct ubi_device *ubi_devices[];
404extern struct class *ubi_class; 402extern struct class *ubi_class;
405 403
406/* vtbl.c */ 404/* vtbl.c */