Skip to content

Commit

Permalink
clk: ti: export the omap2_clk_is_hw_omap call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tero Kristo authored and Stephen Boyd committed Apr 25, 2019
1 parent 9e98c67 commit b88b5b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion drivers/clk/ti/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions include/linux/clk/ti.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b88b5b7

Please sign in to comment.