diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-08 15:04:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 08:32:49 +0100 |
commit | b9658388d7ffdc7f453c03763e91dba98a81dbda (patch) | |
tree | 77176965c980594f232fbeba4eb6cefa7e204b92 /include/linux | |
parent | af616888c86534b0f6a9754b2cf63adf062fdb7d (diff) | |
download | barebox-b9658388d7ffdc7f453c03763e91dba98a81dbda.tar.gz barebox-b9658388d7ffdc7f453c03763e91dba98a81dbda.tar.xz |
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 'include/linux')
-rw-r--r-- | include/linux/clk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 1f20eb2772..6081a1af87 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -399,6 +399,8 @@ struct clk_gate { unsigned flags; }; +int clk_gate_is_enabled(struct clk *clk); + #define to_clk_gate(_clk) container_of(_clk, struct clk_gate, clk) extern struct clk_ops clk_gate_ops; |