From: Axel Lin Date: Fri, 8 Jul 2011 06:24:36 +0000 (+0800) Subject: [CPUFREQ] s5pv210: make needlessly global symbols static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=133de1211982bd2ba9ab401f7a73d25d052ccd61;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 Acked-by: Kukjin Kim Signed-off-by: Dave Jones --- 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) __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;