openwrt/target/linux/pxa/patches-2.6.21/038-cpufreq-fixup.patch
Imre Kaloz 261802269d incomplete Gumstix support
SVN-Revision: 10955
2008-04-27 16:56:19 +00:00

27 lines
1014 B
Diff

Index: linux-2.6.21gum/drivers/cpufreq/cpufreq_ondemand.c
===================================================================
--- linux-2.6.21gum.orig/drivers/cpufreq/cpufreq_ondemand.c
+++ linux-2.6.21gum/drivers/cpufreq/cpufreq_ondemand.c
@@ -573,7 +573,7 @@ static int cpufreq_governor_dbs(struct c
return 0;
}
-static struct cpufreq_governor cpufreq_gov_dbs = {
+struct cpufreq_governor cpufreq_gov_dbs = {
.name = "ondemand",
.governor = cpufreq_governor_dbs,
.owner = THIS_MODULE,
Index: linux-2.6.21gum/drivers/cpufreq/cpufreq_conservative.c
===================================================================
--- linux-2.6.21gum.orig/drivers/cpufreq/cpufreq_conservative.c
+++ linux-2.6.21gum/drivers/cpufreq/cpufreq_conservative.c
@@ -551,7 +551,7 @@ static int cpufreq_governor_dbs(struct c
return 0;
}
-static struct cpufreq_governor cpufreq_gov_dbs = {
+struct cpufreq_governor cpufreq_gov_dbs = {
.name = "conservative",
.governor = cpufreq_governor_dbs,
.owner = THIS_MODULE,