diff options
-rw-r--r-- | drivers/clk/clk.c | 2 | ||||
-rw-r--r-- | include/linux/clk.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index a3def5330f..690a0c63da 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -208,7 +208,7 @@ int clk_register(struct clk *clk) return 0; } -static int clk_is_enabled(struct clk *clk) +int clk_is_enabled(struct clk *clk) { int enabled; diff --git a/include/linux/clk.h b/include/linux/clk.h index 718faa0fb9..38832ba942 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -216,6 +216,7 @@ struct clk *clk_gate(const char *name, const char *parent, void __iomem *reg, u8 shift); struct clk *clk_gate_inverted(const char *name, const char *parent, void __iomem *reg, u8 shift); +int clk_is_enabled(struct clk *clk); int clk_is_enabled_always(struct clk *clk); |