History

clk: Unexport __clk_of_table

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.

Stephen Boyd committed 7 years ago

Commit 30d5a941 parent 59fcdce2 files · +1 −4Browse files

Unified · Split

2 files
  1. drivers/clk/clk.c +1 −0
  2. include/linux/clk-provider.h +0 −4
drivers/clk/clk.c+1−0
@@ -4038,6 +4038,7 @@ struct of_clk_provider { · 4037 unmodified lines
4038 void *data;4038 void *data;
4039};4039};
4040 4040
4041extern struct of_device_id __clk_of_table;
4041static const struct of_device_id __clk_of_table_sentinel4042static const struct of_device_id __clk_of_table_sentinel
4042 __used __section(__clk_of_table_end);4043 __used __section(__clk_of_table_end);
4043 4044
include/linux/clk-provider.h+0−4
@@ -865,8 +865,6 @@ static inline long divider_ro_round_rate(struct clk_hw *hw, unsigned long rate, · 864 unmodified lines
865 */865 */
866unsigned long clk_hw_round_rate(struct clk_hw *hw, unsigned long rate);866unsigned long clk_hw_round_rate(struct clk_hw *hw, unsigned long rate);
867 867
868struct of_device_id;
869
870struct clk_onecell_data {868struct clk_onecell_data {
871 struct clk **clks;869 struct clk **clks;
872 unsigned int clk_num;870 unsigned int clk_num;
@@ -877,8 +875,6 @@ struct clk_hw_onecell_data { · 4 unmodified lines
877 struct clk_hw *hws[];875 struct clk_hw *hws[];
878};876};
879 877
880extern struct of_device_id __clk_of_table;
881
882#define CLK_OF_DECLARE(name, compat, fn) OF_DECLARE_1(clk, name, compat, fn)878#define CLK_OF_DECLARE(name, compat, fn) OF_DECLARE_1(clk, name, compat, fn)
883 879
884/*880/*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t