summaryrefslogtreecommitdiffstats
path: root/include/of.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-05-24 23:31:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-15 11:15:59 +0200
commitabf95154f5d139f2e54559955e80e1752989cc88 (patch)
treed2776f963b019c0eb7376208f43dcc32fb889a04 /include/of.h
parentf57a85985b7ece8824c1dc2232962cbc8f96cb38 (diff)
downloadbarebox-abf95154f5d139f2e54559955e80e1752989cc88.tar.gz
barebox-abf95154f5d139f2e54559955e80e1752989cc88.tar.xz
of: partitions: factor out function to parse a single partition
To make it usable for other code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r--include/of.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h
index 0d8f6b3c67..710383c30f 100644
--- a/include/of.h
+++ b/include/of.h
@@ -221,6 +221,7 @@ extern int of_platform_populate(struct device_node *root,
struct device_d *parent);
extern struct device_d *of_find_device_by_node(struct device_node *np);
+struct cdev *of_parse_partition(struct cdev *cdev, struct device_node *node);
int of_parse_partitions(struct cdev *cdev, struct device_node *node);
int of_device_is_stdout_path(struct device_d *dev);
const char *of_get_model(void);