dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Axel Lin 2011-07-08 14:24:36 +08:00 committed by Dave Jones
parent 2f0d6f20ec
commit 133de12119
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ static void s5pv210_set_refresh(enum s5pv210_dmc_port ch, unsigned long freq)
__raw_writel(tmp1, reg);
}
int s5pv210_verify_speed(struct cpufreq_policy *policy)
static int s5pv210_verify_speed(struct cpufreq_policy *policy)
{
if (policy->cpu)
return -EINVAL;
@ -182,7 +182,7 @@ int s5pv210_verify_speed(struct cpufreq_policy *policy)
return cpufreq_frequency_table_verify(policy, s5pv210_freq_table);
}
unsigned int s5pv210_getspeed(unsigned int cpu)
static unsigned int s5pv210_getspeed(unsigned int cpu)
{
if (cpu)
return 0;