aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_conservative.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/cpufreq_conservative.c')
-rw-r--r--drivers/cpufreq/cpufreq_conservative.c4
1 files changed, 3 insertions, 1 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
580static
581#endif
579struct cpufreq_governor cpufreq_gov_conservative = { 582struct 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};
585EXPORT_SYMBOL(cpufreq_gov_conservative);
586 588
587static int __init cpufreq_gov_dbs_init(void) 589static int __init cpufreq_gov_dbs_init(void)
588{ 590{