clk: ti: export the omap2_clk_is_hw_omap call
authorTero Kristo <t-kristo@ti.com>
Thu, 4 Apr 2019 08:11:02 +0000 (11:11 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 25 Apr 2019 17:51:12 +0000 (10:51 -0700)
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>
drivers/clk/ti/clock.h
include/linux/clk/ti.h

index 1c0fac59d8090fdf175a8d3baf0a1ef6e809cc49..4223a399b3175e4f25cf44ff3023545f79677895 100644 (file)
@@ -303,7 +303,6 @@ long omap4_dpll_regm4xen_round_rate(struct clk_hw *hw,
 int omap4_dpll_regm4xen_determine_rate(struct clk_hw *hw,
                                       struct clk_rate_request *req);
 int omap2_clk_for_each(int (*fn)(struct clk_hw_omap *hw));
-bool omap2_clk_is_hw_omap(struct clk_hw *hw);
 
 extern struct ti_clk_ll_ops *ti_clk_ll_ops;
 
index 78872efc7be09fa9cd16e090ef17ae998cac06e1..2821f7cb1ca9055bddfe69e19f55f7a4b5fd747f 100644 (file)
@@ -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);