cpufreq: exynos: Add missing static
Subsystems (2)
PATCH 5/5 cpufreq: exynos: Add missing static
Add missing 'static' qualifiers.
Signed-off-by Jonghwan Choi <[email protected]>
--- drivers/cpufreq/exynos-cpufreq.c | 4 ++-- drivers/cpufreq/exynos4210-cpufreq.c | 2 +- drivers/cpufreq/exynos4x12-cpufreq.c | 2 +- drivers/cpufreq/exynos5250-cpufreq.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
(quoted diff) +0 -0
b/drivers/cpufreq/exynos-cpufreq.c
index b0338e1..1bd3e3a 100644
drivers/cpufreq/exynos-cpufreq.c +2 -2
@@ -31,13 +31,13 @@ static unsigned int locking_frequency;static bool frequency_locked;static DEFINE_MUTEX (cpufreq_lock); -int exynos_verify_speed (struct cpufreq_policy *policy) +static int exynos_verify_speed (struct cpufreq_policy *policy) {return cpufreq_frequency_table_verify (policy, exynos_info->freq_table); } -unsigned int exynos_getspeed (unsigned int cpu) +static unsigned int exynos_getspeed (unsigned int cpu) {return clk_get_rate (exynos_info->cpu_clk) /1000 ; }
(quoted diff) +0 -0
b/drivers/cpufreq/exynos4210-cpufreq.c
index 250dcf0..de91755 100644
drivers/cpufreq/exynos4210-cpufreq.c +1 -1
@@ -114,7 +114,7 @@ static void exynos4210_set_apll(unsigned int index) }while (tmp != (0x1 <<EXYNOS4_CLKSRC_CPU_MUXCORE_SHIFT )); } -bool exynos4210_pms_change (unsigned int old_index,unsigned int new_index) +static bool exynos4210_pms_change(unsigned int old_index, unsigned int
new_index)
{
unsigned int old_pm = apll_freq_4210[old_index].mps >> 8;
unsigned int new_pm = apll_freq_4210[new_index].mps >> 8;(quoted diff) +0 -0
b/drivers/cpufreq/exynos4x12-cpufreq.c
index 224445d..0661039 100644
drivers/cpufreq/exynos4x12-cpufreq.c +1 -1
@@ -166,7 +166,7 @@ static void exynos4x12_set_apll(unsigned int index) }while (tmp != (0x1 <<EXYNOS4_CLKSRC_CPU_MUXCORE_SHIFT )); } -bool exynos4x12_pms_change (unsigned int old_index,unsigned int new_index) +static bool exynos4x12_pms_change(unsigned int old_index, unsigned int
new_index)
{
unsigned int old_pm = apll_freq_4x12[old_index].mps >> 8;
unsigned int new_pm = apll_freq_4x12[new_index].mps >> 8;(quoted diff) +0 -0
b/drivers/cpufreq/exynos5250-cpufreq.c
index 736a5cf..b934486 100644
drivers/cpufreq/exynos5250-cpufreq.c +1 -1
@@ -143,7 +143,7 @@ static void set_apll(unsigned int new_index, } -bool exynos5250_pms_change (unsigned int old_index,unsigned int new_index) +static bool exynos5250_pms_change(unsigned int old_index, unsigned int
new_index)
{
unsigned int old_pm = apll_freq_5250[old_index].mps >> 8;
unsigned int new_pm = apll_freq_5250[new_index].mps >> 8;--
1.7.4.1