Skip to content

Commit b88b5b7

Browse files
Tero Kristobebarino
authored andcommitted
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>
1 parent 9e98c67 commit b88b5b7

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/clk/ti/clock.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ long omap4_dpll_regm4xen_round_rate(struct clk_hw *hw,
303303
int omap4_dpll_regm4xen_determine_rate(struct clk_hw *hw,
304304
struct clk_rate_request *req);
305305
int omap2_clk_for_each(int (*fn)(struct clk_hw_omap *hw));
306-
bool omap2_clk_is_hw_omap(struct clk_hw *hw);
307306

308307
extern struct ti_clk_ll_ops *ti_clk_ll_ops;
309308

‎include/linux/clk/ti.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ struct ti_clk_ll_ops {
243243

244244
#define to_clk_hw_omap(_hw) container_of(_hw, struct clk_hw_omap, hw)
245245

246+
bool omap2_clk_is_hw_omap(struct clk_hw *hw);
246247
int omap2_clk_disable_autoidle_all(void);
247248
int omap2_clk_enable_autoidle_all(void);
248249
int omap2_clk_allow_idle(struct clk *clk);

0 commit comments

Comments
 (0)