Skip to content

Commit

Permalink
[CPUFREQ] exynos4210: make needlessly global symbols static
Browse files Browse the repository at this point in the history
The following symbols are needlessly defined global:
  exynos4_verify_speed
  exynos4_getspeed
  exynos4_set_clkdiv

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 ef993ef commit 2f0d6f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/cpufreq/exynos4210-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,17 @@ static unsigned int exynos4_apll_pms_table[CPUFREQ_LEVEL_END] = {
((200 << 16) | (6 << 8) | 4),
};

int exynos4_verify_speed(struct cpufreq_policy *policy)
static int exynos4_verify_speed(struct cpufreq_policy *policy)
{
return cpufreq_frequency_table_verify(policy, exynos4_freq_table);
}

unsigned int exynos4_getspeed(unsigned int cpu)
static unsigned int exynos4_getspeed(unsigned int cpu)
{
return clk_get_rate(cpu_clk) / 1000;
}

void exynos4_set_clkdiv(unsigned int div_index)
static void exynos4_set_clkdiv(unsigned int div_index)
{
unsigned int tmp;

Expand Down

0 comments on commit 2f0d6f2

Please sign in to comment.