devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] DT: export of_get_next_parent() for use by modules: fix modular V4L2
@ 2013-04-02 16:28 Guennadi Liakhovetski
  2013-04-02 16:30 ` Arnd Bergmann
  0 siblings, 1 reply; 7+ messages in thread
From: Guennadi Liakhovetski @ 2013-04-02 16:28 UTC (permalink / raw)
  To: Linux Media Mailing List
  Cc: Sylwester Nawrocki, devicetree-discuss, Grant Likely, Rob Herring

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.

Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---

This is for 3.10

 drivers/of/base.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-17 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 16:28 [PATCH] DT: export of_get_next_parent() for use by modules: fix modular V4L2 Guennadi Liakhovetski
2013-04-02 16:30 ` Arnd Bergmann
2013-04-02 16:42   ` Guennadi Liakhovetski
2013-04-17 14:07     ` Guennadi Liakhovetski
2013-04-17 14:53       ` Compilation breakage on drivers/media due to OF patches - was: " Mauro Carvalho Chehab
2013-04-17 15:08         ` Grant Likely
2013-04-17 15:24           ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).