summaryrefslogtreecommitdiffstats
path: root/drivers/of/base.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-04-02 12:28:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-17 12:28:57 -0300
commit6695be6863b75620ffa6d422965680ce785cb7c8 (patch)
tree3c7bcac9afc19b45d6a9920b0ab8e5be3dc57b35 /drivers/of/base.c
parent33a31edd4a4b7d26b962b32decfd8ea2377eaa0d (diff)
downloadblackbird-op-linux-6695be6863b75620ffa6d422965680ce785cb7c8.tar.gz
blackbird-op-linux-6695be6863b75620ffa6d422965680ce785cb7c8.zip
[media] DT: export of_get_next_parent() for use by modules: fix modular V4L2
Currently modular V4L2 build with enabled OF is broken dur to the of_get_next_parent() function being unavailable to modules. Export it to fix the build. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r--drivers/of/base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 321d3ef05006..1733081eb873 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -382,6 +382,7 @@ struct device_node *of_get_next_parent(struct device_node *node)
raw_spin_unlock_irqrestore(&devtree_lock, flags);
return parent;
}
+EXPORT_SYMBOL(of_get_next_parent);
/**
* of_get_next_child - Iterate a node childs
OpenPOWER on IntegriCloud