diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cpufreq_conservative.c | 4 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq_ondemand.c | 4 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq_performance.c | 4 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq_powersave.c | 4 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq_userspace.c | 4 |
5 files changed, 15 insertions, 5 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index 4ee53a4c6d2c..e2657837d954 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c | |||
@@ -576,13 +576,15 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy, | |||
576 | return 0; | 576 | return 0; |
577 | } | 577 | } |
578 | 578 | ||
579 | #ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE | ||
580 | static | ||
581 | #endif | ||
579 | struct cpufreq_governor cpufreq_gov_conservative = { | 582 | struct cpufreq_governor cpufreq_gov_conservative = { |
580 | .name = "conservative", | 583 | .name = "conservative", |
581 | .governor = cpufreq_governor_dbs, | 584 | .governor = cpufreq_governor_dbs, |
582 | .max_transition_latency = TRANSITION_LATENCY_LIMIT, | 585 | .max_transition_latency = TRANSITION_LATENCY_LIMIT, |
583 | .owner = THIS_MODULE, | 586 | .owner = THIS_MODULE, |
584 | }; | 587 | }; |
585 | EXPORT_SYMBOL(cpufreq_gov_conservative); | ||
586 | 588 | ||
587 | static int __init cpufreq_gov_dbs_init(void) | 589 | static int __init cpufreq_gov_dbs_init(void) |
588 | { | 590 | { |
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 39253d6d51ef..bd069349bcae 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -626,13 +626,15 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy, | |||
626 | return 0; | 626 | return 0; |
627 | } | 627 | } |
628 | 628 | ||
629 | #ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND | ||
630 | static | ||
631 | #endif | ||
629 | struct cpufreq_governor cpufreq_gov_ondemand = { | 632 | struct cpufreq_governor cpufreq_gov_ondemand = { |
630 | .name = "ondemand", | 633 | .name = "ondemand", |
631 | .governor = cpufreq_governor_dbs, | 634 | .governor = cpufreq_governor_dbs, |
632 | .max_transition_latency = TRANSITION_LATENCY_LIMIT, | 635 | .max_transition_latency = TRANSITION_LATENCY_LIMIT, |
633 | .owner = THIS_MODULE, | 636 | .owner = THIS_MODULE, |
634 | }; | 637 | }; |
635 | EXPORT_SYMBOL(cpufreq_gov_ondemand); | ||
636 | 638 | ||
637 | static int __init cpufreq_gov_dbs_init(void) | 639 | static int __init cpufreq_gov_dbs_init(void) |
638 | { | 640 | { |
diff --git a/drivers/cpufreq/cpufreq_performance.c b/drivers/cpufreq/cpufreq_performance.c index e8e1451ef1c1..7e2e515087f8 100644 --- a/drivers/cpufreq/cpufreq_performance.c +++ b/drivers/cpufreq/cpufreq_performance.c | |||
@@ -36,12 +36,14 @@ static int cpufreq_governor_performance(struct cpufreq_policy *policy, | |||
36 | return 0; | 36 | return 0; |
37 | } | 37 | } |
38 | 38 | ||
39 | #ifdef CONFIG_CPU_FREQ_GOV_PERFORMANCE_MODULE | ||
40 | static | ||
41 | #endif | ||
39 | struct cpufreq_governor cpufreq_gov_performance = { | 42 | struct cpufreq_governor cpufreq_gov_performance = { |
40 | .name = "performance", | 43 | .name = "performance", |
41 | .governor = cpufreq_governor_performance, | 44 | .governor = cpufreq_governor_performance, |
42 | .owner = THIS_MODULE, | 45 | .owner = THIS_MODULE, |
43 | }; | 46 | }; |
44 | EXPORT_SYMBOL(cpufreq_gov_performance); | ||
45 | 47 | ||
46 | 48 | ||
47 | static int __init cpufreq_gov_performance_init(void) | 49 | static int __init cpufreq_gov_performance_init(void) |
diff --git a/drivers/cpufreq/cpufreq_powersave.c b/drivers/cpufreq/cpufreq_powersave.c index 88d2f44fba48..e6db5faf3eb1 100644 --- a/drivers/cpufreq/cpufreq_powersave.c +++ b/drivers/cpufreq/cpufreq_powersave.c | |||
@@ -35,12 +35,14 @@ static int cpufreq_governor_powersave(struct cpufreq_policy *policy, | |||
35 | return 0; | 35 | return 0; |
36 | } | 36 | } |
37 | 37 | ||
38 | #ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE | ||
39 | static | ||
40 | #endif | ||
38 | struct cpufreq_governor cpufreq_gov_powersave = { | 41 | struct cpufreq_governor cpufreq_gov_powersave = { |
39 | .name = "powersave", | 42 | .name = "powersave", |
40 | .governor = cpufreq_governor_powersave, | 43 | .governor = cpufreq_governor_powersave, |
41 | .owner = THIS_MODULE, | 44 | .owner = THIS_MODULE, |
42 | }; | 45 | }; |
43 | EXPORT_SYMBOL(cpufreq_gov_powersave); | ||
44 | 46 | ||
45 | static int __init cpufreq_gov_powersave_init(void) | 47 | static int __init cpufreq_gov_powersave_init(void) |
46 | { | 48 | { |
diff --git a/drivers/cpufreq/cpufreq_userspace.c b/drivers/cpufreq/cpufreq_userspace.c index 32244aa7cc0c..1442bbada053 100644 --- a/drivers/cpufreq/cpufreq_userspace.c +++ b/drivers/cpufreq/cpufreq_userspace.c | |||
@@ -187,6 +187,9 @@ static int cpufreq_governor_userspace(struct cpufreq_policy *policy, | |||
187 | } | 187 | } |
188 | 188 | ||
189 | 189 | ||
190 | #ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE | ||
191 | static | ||
192 | #endif | ||
190 | struct cpufreq_governor cpufreq_gov_userspace = { | 193 | struct cpufreq_governor cpufreq_gov_userspace = { |
191 | .name = "userspace", | 194 | .name = "userspace", |
192 | .governor = cpufreq_governor_userspace, | 195 | .governor = cpufreq_governor_userspace, |
@@ -194,7 +197,6 @@ struct cpufreq_governor cpufreq_gov_userspace = { | |||
194 | .show_setspeed = show_speed, | 197 | .show_setspeed = show_speed, |
195 | .owner = THIS_MODULE, | 198 | .owner = THIS_MODULE, |
196 | }; | 199 | }; |
197 | EXPORT_SYMBOL(cpufreq_gov_userspace); | ||
198 | 200 | ||
199 | static int __init cpufreq_gov_userspace_init(void) | 201 | static int __init cpufreq_gov_userspace_init(void) |
200 | { | 202 | { |