diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-23 13:23:42 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-25 05:25:16 +0400 |
commit | eea72d5fdf59879edb2c6639b0b7cc385e0df646 (patch) | |
tree | ef1afdcca1ac280c46c72e4dd433654b0f3cb652 /drivers/mtd/mtdcore.h | |
parent | ee0e87b174bb41f0310cf089262bf5dd8f95a212 (diff) | |
download | linux-eea72d5fdf59879edb2c6639b0b7cc385e0df646.tar.xz |
mtd: remove add_mtd_partitions, add_mtd_device and friends
These symbols are replaced with mtd_device_register() (and removal with
mtd_device_unregister()) for public registration.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdcore.h')
-rw-r--r-- | drivers/mtd/mtdcore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/mtdcore.h b/drivers/mtd/mtdcore.h index 6a64fdebc898..0ed6126b4c1f 100644 --- a/drivers/mtd/mtdcore.h +++ b/drivers/mtd/mtdcore.h @@ -10,6 +10,12 @@ extern struct mutex mtd_table_mutex; extern struct mtd_info *__mtd_next_device(int i); +extern int add_mtd_device(struct mtd_info *mtd); +extern int del_mtd_device(struct mtd_info *mtd); +extern int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, + int); +extern int del_mtd_partitions(struct mtd_info *); + #define mtd_for_each_device(mtd) \ for ((mtd) = __mtd_next_device(0); \ (mtd) != NULL; \ |