diff mbox

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

Message ID 1411395124-2476-2-git-send-email-tomeu.vizoso@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tomeu Vizoso Sept. 22, 2014, 2:12 p.m. UTC
This is needed for the split between provider and user clk APIs, for clocks
that are implemented in modules.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---
 drivers/clk/clk.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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        ***/