Skip to content

Commit

Permalink
[CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_targ…
Browse files Browse the repository at this point in the history
…et() 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>
  • Loading branch information
Adrian Bunk authored and Dave Jones committed Aug 14, 2006
1 parent 6595413 commit b5ecf60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/cpufreq/cpufreq_ondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b5ecf60

Please sign in to comment.