[CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static
authorAdrian Bunk <bunk@stusta.de>
Sun, 13 Aug 2006 21:00:08 +0000 (23:00 +0200)
committerDave Jones <davej@redhat.com>
Mon, 14 Aug 2006 05:18:54 +0000 (01:18 -0400)
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>
drivers/cpufreq/cpufreq_ondemand.c

index 34874c2f188533bce24e0499db852da860c1dfeb..5ca2fd5d1ed1c0f281ae9217d4b17eeb5a3fa2ec 100644 (file)
@@ -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;