summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-08 15:04:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-11 08:32:49 +0100
commitb9658388d7ffdc7f453c03763e91dba98a81dbda (patch)
tree77176965c980594f232fbeba4eb6cefa7e204b92 /drivers
parentaf616888c86534b0f6a9754b2cf63adf062fdb7d (diff)
downloadbarebox-b9658388d7ffdc7f453c03763e91dba98a81dbda.tar.gz
clk: export clk_gate_is_enabled()
Will be needed by stm32 clk support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk-gate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c
index 89240ff..b2b1605 100644
--- a/drivers/clk/clk-gate.c
+++ b/drivers/clk/clk-gate.c
@@ -56,7 +56,7 @@ static void clk_gate_disable(struct clk *clk)
clk_gate_endisable(clk, 0);
}
-static int clk_gate_is_enabled(struct clk *clk)
+int clk_gate_is_enabled(struct clk *clk)
{
struct clk_gate *g = container_of(clk, struct clk_gate, clk);
u32 val;