diff options
author | Scott Wood <scottwood@freescale.com> | 2008-01-15 18:54:43 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-02-03 02:06:48 -0500 |
commit | 9a310d21196f38f6ad0ad146057548653e495c09 (patch) | |
tree | ea623f5d0f8712bd300e6bebf5695a3e124cb9cb /include/linux/mtd | |
parent | c0d2a48a65a8fc286aa84871cfc20d8c10dbf492 (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.h | 9 |
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 | 74 | struct device; |
75 | struct device_node; | ||
76 | |||
77 | int __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 | ||