aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2008-01-15 18:54:43 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-03 02:06:48 -0500
commit9a310d21196f38f6ad0ad146057548653e495c09 (patch)
treeea623f5d0f8712bd300e6bebf5695a3e124cb9cb /include/linux/mtd
parentc0d2a48a65a8fc286aa84871cfc20d8c10dbf492 (diff)
[MTD] Factor out OF partition support from the NOR driver.
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/partitions.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index da6b3d6f12a7..7c37d7e55abc 100644
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -71,5 +71,12 @@ extern int parse_mtd_partitions(struct mtd_info *master, const char **types,
71 71
72#define put_partition_parser(p) do { module_put((p)->owner); } while(0) 72#define put_partition_parser(p) do { module_put((p)->owner); } while(0)
73 73
74#endif 74struct device;
75struct device_node;
76
77int __devinit of_mtd_parse_partitions(struct device *dev,
78 struct mtd_info *mtd,
79 struct device_node *node,
80 struct mtd_partition **pparts);
75 81
82#endif