* [-mm patch] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static
[not found] <20060813012454.f1d52189.akpm@osdl.org>
@ 2006-08-13 21:00 ` Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-08-13 21:00 UTC (permalink / raw)
To: Andrew Morton, Alexey Starikovskiy, davej; +Cc: linux-kernel, cpufreq
On Sun, Aug 13, 2006 at 01:24:54AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc3-mm2:
>...
> git-cpufreq.patch
>...
> git trees
>...
This patch makes the needlessly global powersave_bias_target() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.18-rc4-mm1/drivers/cpufreq/cpufreq_ondemand.c.old 2006-08-13 17:40:48.000000000 +0200
+++ linux-2.6.18-rc4-mm1/drivers/cpufreq/cpufreq_ondemand.c 2006-08-13 17:40:59.000000000 +0200
@@ -105,8 +105,9 @@
* 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-13 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060813012454.f1d52189.akpm@osdl.org>
2006-08-13 21:00 ` [-mm patch] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox