Commit 133de1211982bd2ba9ab401f7a73d25d052ccd61

Authored by Axel Lin
Committed by Dave Jones
1 parent 2f0d6f20ec

[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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/cpufreq/s5pv210-cpufreq.c
... ... @@ -174,7 +174,7 @@
174 174 __raw_writel(tmp1, reg);
175 175 }
176 176  
177   -int s5pv210_verify_speed(struct cpufreq_policy *policy)
  177 +static int s5pv210_verify_speed(struct cpufreq_policy *policy)
178 178 {
179 179 if (policy->cpu)
180 180 return -EINVAL;
... ... @@ -182,7 +182,7 @@
182 182 return cpufreq_frequency_table_verify(policy, s5pv210_freq_table);
183 183 }
184 184  
185   -unsigned int s5pv210_getspeed(unsigned int cpu)
  185 +static unsigned int s5pv210_getspeed(unsigned int cpu)
186 186 {
187 187 if (cpu)
188 188 return 0;