diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-06-19 06:10:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-02 08:23:29 +0200 |
commit | 08120e2166f3702ae1e2fcc6c9dbca34a0ef4098 (patch) | |
tree | 69c9c30f8490d31096e981e445d0db225dacf4f0 /include | |
parent | 89d597c860e6c4219473428d4f2e807f21286f1b (diff) | |
download | barebox-08120e2166f3702ae1e2fcc6c9dbca34a0ef4098.tar.gz barebox-08120e2166f3702ae1e2fcc6c9dbca34a0ef4098.tar.xz |
of: export of_platform_device_create
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/of.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index c02f5f49ab..1db210b38a 100644 --- a/include/of.h +++ b/include/of.h @@ -224,6 +224,8 @@ extern int of_modalias_node(struct device_node *node, char *modalias, int len); extern struct device_node *of_get_root_node(void); extern int of_set_root_node(struct device_node *node); +extern struct device_d *of_platform_device_create(struct device_node *np, + struct device_d *parent); extern int of_platform_populate(struct device_node *root, const struct of_device_id *matches, struct device_d *parent); |