aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq_ondemand.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
index 34874c2f1885..5ca2fd5d1ed1 100644
--- a/drivers/cpufreq/cpufreq_ondemand.c
+++ b/drivers/cpufreq/cpufreq_ondemand.c
@@ -105,8 +105,9 @@ static inline cputime64_t get_cpu_idle_time(unsigned int cpu)
105 * Returns the freq_hi to be used right now and will set freq_hi_jiffies, 105 * Returns the freq_hi to be used right now and will set freq_hi_jiffies,
106 * freq_lo, and freq_lo_jiffies in percpu area for averaging freqs. 106 * freq_lo, and freq_lo_jiffies in percpu area for averaging freqs.
107 */ 107 */
108unsigned int powersave_bias_target(struct cpufreq_policy *policy, 108static unsigned int powersave_bias_target(struct cpufreq_policy *policy,
109 unsigned int freq_next, unsigned int relation) 109 unsigned int freq_next,
110 unsigned int relation)
110{ 111{
111 unsigned int freq_req, freq_reduc, freq_avg; 112 unsigned int freq_req, freq_reduc, freq_avg;
112 unsigned int freq_hi, freq_lo; 113 unsigned int freq_hi, freq_lo;