diff options
author | Artem Bityutskiy | 2007-12-16 12:01:03 +0100 |
---|---|---|
committer | Artem Bityutskiy | 2007-12-26 18:15:15 +0100 |
commit | b96bf4c33d4860bf1584ad2f9ed3b783d79aada8 (patch) | |
tree | 30eb7bd3d0de569dd5087b62aa11520d1490c7a6 /drivers/mtd/ubi/ubi.h | |
parent | UBI: create ubi_wl_entry slab on initialization (diff) | |
download | kernel-qcow2-linux-b96bf4c33d4860bf1584ad2f9ed3b783d79aada8.tar.gz kernel-qcow2-linux-b96bf4c33d4860bf1584ad2f9ed3b783d79aada8.tar.xz kernel-qcow2-linux-b96bf4c33d4860bf1584ad2f9ed3b783d79aada8.zip |
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.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 { UBI_IO_BITFLIPS }; -extern int ubi_devices_cnt; -extern struct ubi_device *ubi_devices[]; - /** * struct ubi_wl_entry - wear-leveling entry. * @rb: link in the corresponding RB-tree @@ -401,6 +398,7 @@ extern struct kmem_cache *ubi_ltree_slab; extern struct kmem_cache *ubi_wl_entry_slab; extern struct file_operations ubi_cdev_operations; extern struct file_operations ubi_vol_cdev_operations; +extern struct ubi_device *ubi_devices[]; extern struct class *ubi_class; /* vtbl.c */ |