From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>,
Alexey Starikovskiy <alexey_y_starikovskiy@linux.intel.com>,
davej@codemonkey.org.uk
Cc: linux-kernel@vger.kernel.org, cpufreq@lists.linux.org.uk
Subject: [-mm patch] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static
Date: Sun, 13 Aug 2006 23:00:08 +0200 [thread overview]
Message-ID: <20060813210007.GJ3543@stusta.de> (raw)
In-Reply-To: <20060813012454.f1d52189.akpm@osdl.org>
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;
parent reply other threads:[~2006-08-13 21:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20060813012454.f1d52189.akpm@osdl.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060813210007.GJ3543@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=alexey_y_starikovskiy@linux.intel.com \
--cc=cpufreq@lists.linux.org.uk \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox