From: Dave Jones Date: Wed, 1 Jun 2005 02:03:46 +0000 (-0700) Subject: [CPUFREQ] make cpufreq_gov_dbs static X-Git-Tag: v2.6.12-rc6~58 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7f335d4ef2d50a693fad70b8fa053d0382f4a45c;p=linux-2.6-omap-h63xx.git [CPUFREQ] make cpufreq_gov_dbs static This patch makes a needlessly global and EXPORT_SYMBOL'ed struct static. Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones --- diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 0bc0bff55d2..84c658822a1 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c @@ -459,12 +459,11 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy, return 0; } -struct cpufreq_governor cpufreq_gov_dbs = { +static struct cpufreq_governor cpufreq_gov_dbs = { .name = "ondemand", .governor = cpufreq_governor_dbs, .owner = THIS_MODULE, }; -EXPORT_SYMBOL(cpufreq_gov_dbs); static int __init cpufreq_gov_dbs_init(void) {