projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a31ed
)
[media] DT: export of_get_next_parent() for use by modules: fix modular V4L2
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Tue, 2 Apr 2013 15:28:11 +0000
(12:28 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 17 Apr 2013 15:28:57 +0000
(12:28 -0300)
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>
drivers/of/base.c
patch
|
blob
|
history
diff --git
a/drivers/of/base.c
b/drivers/of/base.c
index 321d3ef050065e12b2d639e02fada00ec6b9e658..1733081eb87310172eddc17b9e691d385ff95926 100644
(file)
--- 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