aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
-rw-r--r--drivers/cpufreq/cpufreq_ondemand.c4
1 files changed, 3 insertions, 1 deletions
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
630static
631#endif
629struct cpufreq_governor cpufreq_gov_ondemand = { 632struct 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};
635EXPORT_SYMBOL(cpufreq_gov_ondemand);
636 638
637static int __init cpufreq_gov_dbs_init(void) 639static int __init cpufreq_gov_dbs_init(void)
638{ 640{