OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5d28fb
)
[CPUFREQ] make cpufreq_gov_dbs static
author
Dave Jones
<davej@redhat.com>
Wed, 1 Jun 2005 02:03:46 +0000
(19:03 -0700)
committer
Dave Jones
<davej@redhat.com>
Wed, 1 Jun 2005 02:03:46 +0000
(19:03 -0700)
This patch makes a needlessly global and EXPORT_SYMBOL'ed struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq_ondemand.c
b/drivers/cpufreq/cpufreq_ondemand.c
index
0bc0bff
..
84c6588
100644
(file)
--- 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 = {
+st
atic st
ruct 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)
{