[PATCH v12 01/10] clk: Export __clk_put and __clk_get so they can be used by modules

From
Tomeu Vizoso <hidden>
Date
2014-09-22 14:12:50
Also in
lkml
Reply to
Tomeu Vizoso, 2014-09-22
This is needed for the split between provider and user clk APIs, for clocks
that are implemented in modules.

Signed-off-by: Tomeu Vizoso <redacted>
---
 drivers/clk/clk.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index b76fa69..5db9710 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -2197,6 +2197,7 @@ int __clk_get(struct clk *clk)
 	}
 	return 1;
 }
+EXPORT_SYMBOL(__clk_get);
 
 void __clk_put(struct clk *clk)
 {
@@ -2209,6 +2210,7 @@ void __clk_put(struct clk *clk)
 
 	module_put(clk->owner);
 }
+EXPORT_SYMBOL(__clk_put);
 
 /***        clk rate change notifiers        ***/
 
-- 
1.9.3
Thread (14 messages) 14 messages, 2 authors, last reply 2014-09-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help