summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-13 23:00:08 +0200
committerDave Jones <davej@redhat.com>2006-08-14 07:18:54 +0200
commitb5ecf60fe6b18de0bc59d336d444835d4ef835ed (patch)
treefa8ccb8598d475a149ac6fb1ada068717bfa179b /drivers/cpufreq/cpufreq_ondemand.c
parent[CPUFREQ] Longhaul - Add ignore_latency option (diff)
downloadlinux-b5ecf60fe6b18de0bc59d336d444835d4ef835ed.tar.xz
linux-b5ecf60fe6b18de0bc59d336d444835d4ef835ed.zip
[CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static
This patch makes the needlessly global powersave_bias_target() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
-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)
* Returns the freq_hi to be used right now and will set freq_hi_jiffies,
* freq_lo, and freq_lo_jiffies in percpu area for averaging freqs.
*/
-unsigned int powersave_bias_target(struct cpufreq_policy *policy,
- unsigned int freq_next, unsigned int relation)
+static unsigned int powersave_bias_target(struct cpufreq_policy *policy,
+ unsigned int freq_next,
+ unsigned int relation)
{
unsigned int freq_req, freq_reduc, freq_avg;
unsigned int freq_hi, freq_lo;