aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-05-29 17:05:33 -0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 08:02:12 -0400
commit628376fb5369c353680f03f47705b1437ff8de80 (patch)
tree1d8a275bebd0a517b28b438d979f21543bbced9c /include
parent2cd9ea5256ecf2bc795d476598ac7f43f4b83a97 (diff)
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,
84 84
85#define put_partition_parser(p) do { module_put((p)->owner); } while(0) 85#define put_partition_parser(p) do { module_put((p)->owner); } while(0)
86 86
87struct device;
88struct device_node;
89
90#ifdef CONFIG_MTD_OF_PARTS
91int of_mtd_parse_partitions(struct device *dev,
92 struct device_node *node,
93 struct mtd_partition **pparts);
94#else
95static inline int of_mtd_parse_partitions(struct device *dev,
96 struct device_node *node,
97 struct mtd_partition **pparts)
98{
99 return 0;
100}
101#endif
102
103int mtd_is_partition(struct mtd_info *mtd); 87int mtd_is_partition(struct mtd_info *mtd);
104int mtd_add_partition(struct mtd_info *master, char *name, 88int mtd_add_partition(struct mtd_info *master, char *name,
105 long long offset, long long length); 89 long long offset, long long length);