summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-05-30 01:05:33 +0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 15:02:12 +0300
commit628376fb5369c353680f03f47705b1437ff8de80 (patch)
tree1d8a275bebd0a517b28b438d979f21543bbced9c /include
parent2cd9ea5256ecf2bc795d476598ac7f43f4b83a97 (diff)
downloadlinux-rt-628376fb5369c353680f03f47705b1437ff8de80.tar.gz
mtd: drop of_mtd_parse_partitions()
All users have been converted to call of_mtd_parse_partitions through parse_mtd_partitions() multiplexer. Drop obsolete API. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/partitions.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index ec60fd14670c..a8a961a8c8ff 100644
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -84,22 +84,6 @@ extern int parse_mtd_partitions(struct mtd_info *master, const char **types,
#define put_partition_parser(p) do { module_put((p)->owner); } while(0)
-struct device;
-struct device_node;
-
-#ifdef CONFIG_MTD_OF_PARTS
-int of_mtd_parse_partitions(struct device *dev,
- struct device_node *node,
- struct mtd_partition **pparts);
-#else
-static inline int of_mtd_parse_partitions(struct device *dev,
- struct device_node *node,
- struct mtd_partition **pparts)
-{
- return 0;
-}
-#endif
-
int mtd_is_partition(struct mtd_info *mtd);
int mtd_add_partition(struct mtd_info *master, char *name,
long long offset, long long length);