aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdcore.c
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-05-23 05:23:42 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-24 21:25:16 -0400
commiteea72d5fdf59879edb2c6639b0b7cc385e0df646 (patch)
treeef1afdcca1ac280c46c72e4dd433654b0f3cb652 /drivers/mtd/mtdcore.c
parentee0e87b174bb41f0310cf089262bf5dd8f95a212 (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 'drivers/mtd/mtdcore.c')
-rw-r--r--drivers/mtd/mtdcore.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 9af103bf921..c510aff289a 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -393,7 +393,7 @@ fail_locked:
393 * if the requested device does not appear to be present in the list. 393 * if the requested device does not appear to be present in the list.
394 */ 394 */
395 395
396int del_mtd_device (struct mtd_info *mtd) 396int del_mtd_device(struct mtd_info *mtd)
397{ 397{
398 int ret; 398 int ret;
399 struct mtd_notifier *not; 399 struct mtd_notifier *not;
@@ -723,8 +723,6 @@ void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size)
723 return kmalloc(*size, GFP_KERNEL); 723 return kmalloc(*size, GFP_KERNEL);
724} 724}
725 725
726EXPORT_SYMBOL_GPL(add_mtd_device);
727EXPORT_SYMBOL_GPL(del_mtd_device);
728EXPORT_SYMBOL_GPL(get_mtd_device); 726EXPORT_SYMBOL_GPL(get_mtd_device);
729EXPORT_SYMBOL_GPL(get_mtd_device_nm); 727EXPORT_SYMBOL_GPL(get_mtd_device_nm);
730EXPORT_SYMBOL_GPL(__get_mtd_device); 728EXPORT_SYMBOL_GPL(__get_mtd_device);