diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-23 05:23:42 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-24 21:25:16 -0400 |
commit | eea72d5fdf59879edb2c6639b0b7cc385e0df646 (patch) | |
tree | ef1afdcca1ac280c46c72e4dd433654b0f3cb652 /include/linux/mtd/mtd.h | |
parent | ee0e87b174bb41f0310cf089262bf5dd8f95a212 (diff) |
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/mtd.h')
-rw-r--r-- | include/linux/mtd/mtd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index f4b0b27a7bbe..1e3887bc105c 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
@@ -322,9 +322,6 @@ static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd) | |||
322 | 322 | ||
323 | /* Kernel-side ioctl definitions */ | 323 | /* Kernel-side ioctl definitions */ |
324 | 324 | ||
325 | extern int add_mtd_device(struct mtd_info *mtd); | ||
326 | extern int del_mtd_device (struct mtd_info *mtd); | ||
327 | |||
328 | struct mtd_partition; | 325 | struct mtd_partition; |
329 | 326 | ||
330 | extern int mtd_device_register(struct mtd_info *master, | 327 | extern int mtd_device_register(struct mtd_info *master, |