Skip to content

Commit

Permalink
[CPUFREQ] s5pv210: make needlessly global symbols static
Browse files Browse the repository at this point in the history
The following symbols are needlessly defined global:
  s5pv210_verify_speed
  s5pv210_getspeed

Make them static.

Signed-off-by: Axel Lin <[email protected]>
Acked-by: Kukjin Kim <[email protected]>
Signed-off-by: Dave Jones <[email protected]>
  • Loading branch information
AxelLin authored and Dave Jones committed Jul 13, 2011
1 parent 2f0d6f2 commit 133de12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/s5pv210-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ 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;

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;
Expand Down

0 comments on commit 133de12

Please sign in to comment.