diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-04-04 11:11:02 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 10:51:12 -0700 |
commit | b88b5b7182b07ebdc1ab692b4fc6a10abfff208d (patch) | |
tree | 044527ffa5b2876da6de074474e4f7ba75c7b7ce /include/linux/clk | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-stable-b88b5b7182b07ebdc1ab692b4fc6a10abfff208d.tar.gz linux-stable-b88b5b7182b07ebdc1ab692b4fc6a10abfff208d.tar.bz2 linux-stable-b88b5b7182b07ebdc1ab692b4fc6a10abfff208d.zip |
clk: ti: export the omap2_clk_is_hw_omap call
There is one instance outside the TI clock driver that needs the info
whether a clock is an OMAP HW clock or not. Thus, move the function
declaration into the public header.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/clk')
-rw-r--r-- | include/linux/clk/ti.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 78872efc7be0..2821f7cb1ca9 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h @@ -243,6 +243,7 @@ struct ti_clk_ll_ops { #define to_clk_hw_omap(_hw) container_of(_hw, struct clk_hw_omap, hw) +bool omap2_clk_is_hw_omap(struct clk_hw *hw); int omap2_clk_disable_autoidle_all(void); int omap2_clk_enable_autoidle_all(void); int omap2_clk_allow_idle(struct clk *clk); |