summaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-2.6.21/038-cpufreq-fixup.patch
blob: ddd2919d8b3c8b5afdb6459b0567538a3a455614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: linux-2.6.21.7/drivers/cpufreq/cpufreq_ondemand.c
===================================================================
--- linux-2.6.21.7.orig/drivers/cpufreq/cpufreq_ondemand.c
+++ linux-2.6.21.7/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.21.7/drivers/cpufreq/cpufreq_conservative.c
===================================================================
--- linux-2.6.21.7.orig/drivers/cpufreq/cpufreq_conservative.c
+++ linux-2.6.21.7/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,