diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-08 02:20:44 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2011-07-13 18:30:00 -0400 |
commit | 2f0d6f20ec4cc157ba092e008ed20a99590142c4 (patch) | |
tree | 2ed4ce056ffe6735f3d6d200c7cd235991caf54e | |
parent | ef993ef8dcd4f3e4d058400c5bd2f7c547344e74 (diff) |
[CPUFREQ] exynos4210: make needlessly global symbols static
The following symbols are needlessly defined global:
exynos4_verify_speed
exynos4_getspeed
exynos4_set_clkdiv
Make them static.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r-- | drivers/cpufreq/exynos4210-cpufreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpufreq/exynos4210-cpufreq.c b/drivers/cpufreq/exynos4210-cpufreq.c index 54025fc4b52b..b7c3a84c4cfa 100644 --- a/drivers/cpufreq/exynos4210-cpufreq.c +++ b/drivers/cpufreq/exynos4210-cpufreq.c | |||
@@ -191,17 +191,17 @@ static unsigned int exynos4_apll_pms_table[CPUFREQ_LEVEL_END] = { | |||
191 | ((200 << 16) | (6 << 8) | 4), | 191 | ((200 << 16) | (6 << 8) | 4), |
192 | }; | 192 | }; |
193 | 193 | ||
194 | int exynos4_verify_speed(struct cpufreq_policy *policy) | 194 | static int exynos4_verify_speed(struct cpufreq_policy *policy) |
195 | { | 195 | { |
196 | return cpufreq_frequency_table_verify(policy, exynos4_freq_table); | 196 | return cpufreq_frequency_table_verify(policy, exynos4_freq_table); |
197 | } | 197 | } |
198 | 198 | ||
199 | unsigned int exynos4_getspeed(unsigned int cpu) | 199 | static unsigned int exynos4_getspeed(unsigned int cpu) |
200 | { | 200 | { |
201 | return clk_get_rate(cpu_clk) / 1000; | 201 | return clk_get_rate(cpu_clk) / 1000; |
202 | } | 202 | } |
203 | 203 | ||
204 | void exynos4_set_clkdiv(unsigned int div_index) | 204 | static void exynos4_set_clkdiv(unsigned int div_index) |
205 | { | 205 | { |
206 | unsigned int tmp; | 206 | unsigned int tmp; |
207 | 207 | ||