summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-05-29 23:05:33 +0200
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 14:02:12 +0200
commit628376fb5369c353680f03f47705b1437ff8de80 (patch)
tree1d8a275bebd0a517b28b438d979f21543bbced9c /include
parentmtd: socrates_nand: use ofpart through generic parsing (diff)
downloadlinux-628376fb5369c353680f03f47705b1437ff8de80.tar.xz
linux-628376fb5369c353680f03f47705b1437ff8de80.zip
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);