summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-06-19 06:10:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-02 08:23:29 +0200
commit08120e2166f3702ae1e2fcc6c9dbca34a0ef4098 (patch)
tree69c9c30f8490d31096e981e445d0db225dacf4f0 /drivers/of
parent89d597c860e6c4219473428d4f2e807f21286f1b (diff)
downloadbarebox-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 'drivers/of')
-rw-r--r--drivers/of/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index ab3ccab3b6..2c075dbae3 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -118,7 +118,7 @@ static void of_device_make_bus_id(struct device_d *dev)
* Returns pointer to created platform device, or NULL if a device was not
* registered. Unavailable devices will not get registered.
*/
-static struct device_d *of_platform_device_create(struct device_node *np,
+struct device_d *of_platform_device_create(struct device_node *np,
struct device_d *parent)
{
struct device_d *dev;