linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: export __clk_get_hw for re-use in others
@ 2014-01-19  5:55 SeongJae Park
  2014-01-19 17:37 ` Greg KH
  0 siblings, 1 reply; 12+ messages in thread
From: SeongJae Park @ 2014-01-19  5:55 UTC (permalink / raw)
  To: linux-arm-kernel

Following build comes while modprobe process:
> ERROR: "__clk_get_hw" [drivers/clk/clk-max77686.ko] undefined!
> make[2]: *** [__modpost] Error 1
> make[1]: *** [modules] Error 2

Export the symbol to fix it and for other part's usecase.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 drivers/clk/clk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 2b38dc9..3883fba 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -575,6 +575,7 @@ struct clk_hw *__clk_get_hw(struct clk *clk)
 {
 	return !clk ? NULL : clk->hw;
 }
+EXPORT_SYMBOL_GPL(__clk_get_hw);
 
 u8 __clk_get_num_parents(struct clk *clk)
 {
-- 
1.8.3.2

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

end of thread, other threads:[~2014-01-29  8:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-19  5:55 [PATCH] clk: export __clk_get_hw for re-use in others SeongJae Park
2014-01-19 17:37 ` Greg KH
2014-01-20  7:47   ` Mike Turquette
2014-01-20  8:07     ` SeongJae Park
2014-01-22  3:05       ` SeongJae Park
2014-01-22  4:59         ` Greg KH
2014-01-22  5:23           ` SeongJae Park
2014-01-22 17:59             ` Stephen Boyd
2014-01-22 18:11               ` Mike Turquette
2014-01-23  2:05                 ` SeongJae Park
2014-01-29  7:29             ` David Rientjes
2014-01-29  8:13               ` SeongJae Park

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).