aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/cpu-tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.c')
-rw-r--r--arch/arm/mach-tegra/cpu-tegra.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c
index 0e1016a827ac..b2647ec709d4 100644
--- a/arch/arm/mach-tegra/cpu-tegra.c
+++ b/arch/arm/mach-tegra/cpu-tegra.c
@@ -57,12 +57,12 @@ static unsigned long target_cpu_speed[NUM_CPUS];
57static DEFINE_MUTEX(tegra_cpu_lock); 57static DEFINE_MUTEX(tegra_cpu_lock);
58static bool is_suspended; 58static bool is_suspended;
59 59
60int tegra_verify_speed(struct cpufreq_policy *policy) 60static int tegra_verify_speed(struct cpufreq_policy *policy)
61{ 61{
62 return cpufreq_frequency_table_verify(policy, freq_table); 62 return cpufreq_frequency_table_verify(policy, freq_table);
63} 63}
64 64
65unsigned int tegra_getspeed(unsigned int cpu) 65static unsigned int tegra_getspeed(unsigned int cpu)
66{ 66{
67 unsigned long rate; 67 unsigned long rate;
68 68
@@ -130,7 +130,7 @@ static int tegra_target(struct cpufreq_policy *policy,
130 unsigned int target_freq, 130 unsigned int target_freq,
131 unsigned int relation) 131 unsigned int relation)
132{ 132{
133 int idx; 133 unsigned int idx;
134 unsigned int freq; 134 unsigned int freq;
135 int ret = 0; 135 int ret = 0;
136 136