This symbol doesn't need to be exported to clk providers anymore. Originally, it was hidden inside clk.c, but then OMAP needed to get access to it in commit 819b4861c18d ("CLK: ti: add init support for clock IP blocks"), but eventually that code also changed in commit c08ee14cc663 ("clk: ti: change clock init to use generic of_clk_init") and we were left with this exported. Move this back into clk.c so that it isn't exposed anymore.
Unified · Split
| @@ -4038,6 +4038,7 @@ struct of_clk_provider { · 4037 unmodified lines | ||
| 4038 | 4038 | void *data; |
| 4039 | 4039 | }; |
| 4040 | 4040 | |
| 4041 | +extern struct of_device_id __clk_of_table; | |
| 4041 | 4042 | static const struct of_device_id __clk_of_table_sentinel |
| 4042 | 4043 | __used __section(__clk_of_table_end); |
| 4043 | 4044 | |
| @@ -865,8 +865,6 @@ static inline long divider_ro_round_rate(struct clk_hw *hw, unsigned long rate, · 864 unmodified lines | ||
| 865 | 865 | */ |
| 866 | 866 | unsigned long clk_hw_round_rate(struct clk_hw *hw, unsigned long rate); |
| 867 | 867 | |
| 868 | −struct of_device_id; | |
| 869 | − | |
| 870 | 868 | struct clk_onecell_data { |
| 871 | 869 | struct clk **clks; |
| 872 | 870 | unsigned int clk_num; |
| @@ -877,8 +875,6 @@ struct clk_hw_onecell_data { · 4 unmodified lines | ||
| 877 | 875 | struct clk_hw *hws[]; |
| 878 | 876 | }; |
| 879 | 877 | |
| 880 | −extern struct of_device_id __clk_of_table; | |
| 881 | − | |
| 882 | 878 | #define CLK_OF_DECLARE(name, compat, fn) OF_DECLARE_1(clk, name, compat, fn) |
| 883 | 879 | |
| 884 | 880 | /* |