]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: exynos: Add missing static
authorJonghwan Choi <jhbird.choi@samsung.com>
Sun, 23 Dec 2012 23:59:06 +0000 (15:59 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 23 Dec 2012 23:59:06 +0000 (15:59 -0800)
Add missing 'static' qualifiers.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/cpufreq/exynos4210-cpufreq.c
drivers/cpufreq/exynos4x12-cpufreq.c
drivers/cpufreq/exynos5250-cpufreq.c

index 250dcf0c0b228fa9b17d8fa8c18dedc5e853f9f0..de91755e2556b0311d9da8327d7db4f7803b49af 100644 (file)
@@ -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;
index 224445d3fd4f2a0406a6e273f860ed43d99bb9a7..0661039e5d4a709d6422f76fd819c7b45be0785e 100644 (file)
@@ -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;
index 736a5cfdfd17709b0788b085bb7888f41a244a46..b9344869f822a5bf4845337a60bc5d60afb7412d 100644 (file)
@@ -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;