projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/cpufreq/cpufreq_ondemand.c
b/drivers/cpufreq/cpufreq_ondemand.c
index 0bc0bff55d261b10b81fdd6557a02e021b8febc3..84c658822a105393801b01d243dbb6b719593c52 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)
{