aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-08 02:24:36 -0400
committerDave Jones <davej@redhat.com>2011-07-13 18:30:00 -0400
commit133de1211982bd2ba9ab401f7a73d25d052ccd61 (patch)
tree3e7ae3813ba484b9f0bc4099577719eaef37a106 /drivers/cpufreq
parent2f0d6f20ec4cc157ba092e008ed20a99590142c4 (diff)
[CPUFREQ] s5pv210: make needlessly global symbols static
The following symbols are needlessly defined global: s5pv210_verify_speed s5pv210_getspeed 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>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/s5pv210-cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
index 7c4bb070b904..a484aaea9809 100644
--- a/drivers/cpufreq/s5pv210-cpufreq.c
+++ b/drivers/cpufreq/s5pv210-cpufreq.c
@@ -174,7 +174,7 @@ static void s5pv210_set_refresh(enum s5pv210_dmc_port ch, unsigned long freq)
174 __raw_writel(tmp1, reg); 174 __raw_writel(tmp1, reg);
175} 175}
176 176
177int s5pv210_verify_speed(struct cpufreq_policy *policy) 177static int s5pv210_verify_speed(struct cpufreq_policy *policy)
178{ 178{
179 if (policy->cpu) 179 if (policy->cpu)
180 return -EINVAL; 180 return -EINVAL;
@@ -182,7 +182,7 @@ int s5pv210_verify_speed(struct cpufreq_policy *policy)
182 return cpufreq_frequency_table_verify(policy, s5pv210_freq_table); 182 return cpufreq_frequency_table_verify(policy, s5pv210_freq_table);
183} 183}
184 184
185unsigned int s5pv210_getspeed(unsigned int cpu) 185static unsigned int s5pv210_getspeed(unsigned int cpu)
186{ 186{
187 if (cpu) 187 if (cpu)
188 return 0; 188 return 0;