diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-23 10:23:42 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-25 02:25:16 +0100 |
commit | eea72d5fdf59879edb2c6639b0b7cc385e0df646 (patch) | |
tree | ef1afdcca1ac280c46c72e4dd433654b0f3cb652 /include/linux/mtd/partitions.h | |
parent | ee0e87b174bb41f0310cf089262bf5dd8f95a212 (diff) | |
download | kernel_samsung_smdk4412-eea72d5fdf59879edb2c6639b0b7cc385e0df646.zip kernel_samsung_smdk4412-eea72d5fdf59879edb2c6639b0b7cc385e0df646.tar.gz kernel_samsung_smdk4412-eea72d5fdf59879edb2c6639b0b7cc385e0df646.tar.bz2 |
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 'include/linux/mtd/partitions.h')
-rw-r--r-- | include/linux/mtd/partitions.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index afe32db..3a6f037 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -49,9 +49,6 @@ struct mtd_partition { struct mtd_info; -int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int); -int del_mtd_partitions(struct mtd_info *); - /* * Functions dealing with the various ways of partitioning the space */ @@ -86,12 +83,6 @@ static inline int of_mtd_parse_partitions(struct device *dev, } #endif -#ifdef CONFIG_MTD_PARTITIONS -static inline int mtd_has_partitions(void) { return 1; } -#else -static inline int mtd_has_partitions(void) { return 0; } -#endif - #ifdef CONFIG_MTD_CMDLINE_PARTS static inline int mtd_has_cmdlinepart(void) { return 1; } #else |