diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-03-27 03:23:21 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-04-24 19:37:38 -0400 |
commit | c0d2530c03cbf3741cb7a0f8ebae93e7a563fc58 (patch) | |
tree | d9a5492ab51ca80644620912fe82a27b76c4abf2 /drivers/clk | |
parent | 10363b5838b4d5dcbf01db219f35e91aa94f24c6 (diff) |
clk: remove unnecessary EXPORT_SYMBOL_GPL
It makes no sense to have EXPORT_SYMBOL_GPL on static functions.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-divider.c | 3 | ||||
-rw-r--r-- | drivers/clk/clk-fixed-rate.c | 1 | ||||
-rw-r--r-- | drivers/clk/clk-gate.c | 3 | ||||
-rw-r--r-- | drivers/clk/clk-mux.c | 2 |
4 files changed, 0 insertions, 9 deletions
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index d5ac6a75ea57..231cd6e89003 100644 --- a/drivers/clk/clk-divider.c +++ b/drivers/clk/clk-divider.c | |||
@@ -45,7 +45,6 @@ static unsigned long clk_divider_recalc_rate(struct clk_hw *hw, | |||
45 | 45 | ||
46 | return parent_rate / div; | 46 | return parent_rate / div; |
47 | } | 47 | } |
48 | EXPORT_SYMBOL_GPL(clk_divider_recalc_rate); | ||
49 | 48 | ||
50 | /* | 49 | /* |
51 | * The reverse of DIV_ROUND_UP: The maximum number which | 50 | * The reverse of DIV_ROUND_UP: The maximum number which |
@@ -117,7 +116,6 @@ static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, | |||
117 | return r / div; | 116 | return r / div; |
118 | } | 117 | } |
119 | } | 118 | } |
120 | EXPORT_SYMBOL_GPL(clk_divider_round_rate); | ||
121 | 119 | ||
122 | static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate) | 120 | static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate) |
123 | { | 121 | { |
@@ -147,7 +145,6 @@ static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate) | |||
147 | 145 | ||
148 | return 0; | 146 | return 0; |
149 | } | 147 | } |
150 | EXPORT_SYMBOL_GPL(clk_divider_set_rate); | ||
151 | 148 | ||
152 | struct clk_ops clk_divider_ops = { | 149 | struct clk_ops clk_divider_ops = { |
153 | .recalc_rate = clk_divider_recalc_rate, | 150 | .recalc_rate = clk_divider_recalc_rate, |
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index 90c79fb5d1bd..651b06f49e15 100644 --- a/drivers/clk/clk-fixed-rate.c +++ b/drivers/clk/clk-fixed-rate.c | |||
@@ -32,7 +32,6 @@ static unsigned long clk_fixed_rate_recalc_rate(struct clk_hw *hw, | |||
32 | { | 32 | { |
33 | return to_clk_fixed_rate(hw)->fixed_rate; | 33 | return to_clk_fixed_rate(hw)->fixed_rate; |
34 | } | 34 | } |
35 | EXPORT_SYMBOL_GPL(clk_fixed_rate_recalc_rate); | ||
36 | 35 | ||
37 | struct clk_ops clk_fixed_rate_ops = { | 36 | struct clk_ops clk_fixed_rate_ops = { |
38 | .recalc_rate = clk_fixed_rate_recalc_rate, | 37 | .recalc_rate = clk_fixed_rate_recalc_rate, |
diff --git a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c index b5902e2ef2fd..b688f4775859 100644 --- a/drivers/clk/clk-gate.c +++ b/drivers/clk/clk-gate.c | |||
@@ -71,7 +71,6 @@ static int clk_gate_enable(struct clk_hw *hw) | |||
71 | 71 | ||
72 | return 0; | 72 | return 0; |
73 | } | 73 | } |
74 | EXPORT_SYMBOL_GPL(clk_gate_enable); | ||
75 | 74 | ||
76 | static void clk_gate_disable(struct clk_hw *hw) | 75 | static void clk_gate_disable(struct clk_hw *hw) |
77 | { | 76 | { |
@@ -82,7 +81,6 @@ static void clk_gate_disable(struct clk_hw *hw) | |||
82 | else | 81 | else |
83 | clk_gate_clear_bit(gate); | 82 | clk_gate_clear_bit(gate); |
84 | } | 83 | } |
85 | EXPORT_SYMBOL_GPL(clk_gate_disable); | ||
86 | 84 | ||
87 | static int clk_gate_is_enabled(struct clk_hw *hw) | 85 | static int clk_gate_is_enabled(struct clk_hw *hw) |
88 | { | 86 | { |
@@ -99,7 +97,6 @@ static int clk_gate_is_enabled(struct clk_hw *hw) | |||
99 | 97 | ||
100 | return reg ? 1 : 0; | 98 | return reg ? 1 : 0; |
101 | } | 99 | } |
102 | EXPORT_SYMBOL_GPL(clk_gate_is_enabled); | ||
103 | 100 | ||
104 | struct clk_ops clk_gate_ops = { | 101 | struct clk_ops clk_gate_ops = { |
105 | .enable = clk_gate_enable, | 102 | .enable = clk_gate_enable, |
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c index 50e05953c8d3..45cad61600c9 100644 --- a/drivers/clk/clk-mux.c +++ b/drivers/clk/clk-mux.c | |||
@@ -55,7 +55,6 @@ static u8 clk_mux_get_parent(struct clk_hw *hw) | |||
55 | 55 | ||
56 | return val; | 56 | return val; |
57 | } | 57 | } |
58 | EXPORT_SYMBOL_GPL(clk_mux_get_parent); | ||
59 | 58 | ||
60 | static int clk_mux_set_parent(struct clk_hw *hw, u8 index) | 59 | static int clk_mux_set_parent(struct clk_hw *hw, u8 index) |
61 | { | 60 | { |
@@ -82,7 +81,6 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index) | |||
82 | 81 | ||
83 | return 0; | 82 | return 0; |
84 | } | 83 | } |
85 | EXPORT_SYMBOL_GPL(clk_mux_set_parent); | ||
86 | 84 | ||
87 | struct clk_ops clk_mux_ops = { | 85 | struct clk_ops clk_mux_ops = { |
88 | .get_parent = clk_mux_get_parent, | 86 | .get_parent = clk_mux_get_parent, |