aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/exynos-cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/exynos-cpufreq.c')
-rw-r--r--drivers/cpufreq/exynos-cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index c0d54a8ba949..7012ea8bf1e7 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -31,13 +31,13 @@ static unsigned int locking_frequency;
31static bool frequency_locked; 31static bool frequency_locked;
32static DEFINE_MUTEX(cpufreq_lock); 32static DEFINE_MUTEX(cpufreq_lock);
33 33
34int exynos_verify_speed(struct cpufreq_policy *policy) 34static int exynos_verify_speed(struct cpufreq_policy *policy)
35{ 35{
36 return cpufreq_frequency_table_verify(policy, 36 return cpufreq_frequency_table_verify(policy,
37 exynos_info->freq_table); 37 exynos_info->freq_table);
38} 38}
39 39
40unsigned int exynos_getspeed(unsigned int cpu) 40static unsigned int exynos_getspeed(unsigned int cpu)
41{ 41{
42 return clk_get_rate(exynos_info->cpu_clk) / 1000; 42 return clk_get_rate(exynos_info->cpu_clk) / 1000;
43} 43}