From: Guennadi Liakhovetski Date: Tue, 2 Apr 2013 15:28:11 +0000 (-0300) Subject: [media] DT: export of_get_next_parent() for use by modules: fix modular V4L2 X-Git-Tag: v3.10-rc7~6^2~44^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6695be6863b75620ffa6d422965680ce785cb7c8;p=platform%2Fkernel%2Flinux-3.10.git [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 Acked-by: Grant Likely Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/of/base.c b/drivers/of/base.c index 321d3ef..1733081 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