cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>,
	Alexander Clouter <alex-kernel@digriz.org.uk>
Cc: Dave Jones <davej@redhat.com>,
	linux-kernel@vger.kernel.org, cpufreq@lists.linux.org.uk
Subject: [-mm patch] drivers/cpufreq/cpufreq_conservative.c: make cpufreq_gov_dbs static
Date: Fri, 13 May 2005 02:47:37 +0200	[thread overview]
Message-ID: <20050513004737.GV3603@stusta.de> (raw)
In-Reply-To: <20050512033100.017958f6.akpm@osdl.org>

On Thu, May 12, 2005 at 03:31:00AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.12-rc3-mm3:
>...
> +cpufreq-CPUFREQ-13-static-cpufreq_gov_dbs.patch
>...

This is my patch to make the needlessly global and EXPORT_SYMBOL'ed 
cpufreq_gov_dbs in cpufreq_ondemand.c static.

> +cpufreq-CPUFREQ-16-conservative-governer.patch
>...

This patch adds a needlessly global and EXPORT_SYMBOL'ed 
cpufreq_gov_dbs in cpufreq_conservative.c .

Patch below...

>  Additions to cpufreq tree
>...

cu
Adrian


<--  snip  -->



This patch makes a needlessly global and EXPORT_SYMBOL'ed struct static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.12-rc4-mm1-full/drivers/cpufreq/cpufreq_conservative.c.old	2005-05-13 01:42:33.000000000 +0200
+++ linux-2.6.12-rc4-mm1-full/drivers/cpufreq/cpufreq_conservative.c	2005-05-13 01:42:51.000000000 +0200
@@ -583,12 +583,11 @@
 	return 0;
 }
 
-struct cpufreq_governor cpufreq_gov_dbs = {
+static struct cpufreq_governor cpufreq_gov_dbs = {
 	.name		= "conservative",
 	.governor	= cpufreq_governor_dbs,
 	.owner		= THIS_MODULE,
 };
-EXPORT_SYMBOL(cpufreq_gov_dbs);
 
 static int __init cpufreq_gov_dbs_init(void)
 {

           reply	other threads:[~2005-05-13  0:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20050512033100.017958f6.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=20050513004737.GV3603@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=alex-kernel@digriz.org.uk \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=davej@redhat.com \
    --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