summaryrefslogtreecommitdiff
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-06-17 13:33:17 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 08:57:55 -0500
commitb54d24fa8de00f08544cb1a42a3313ab36ae7203 (patch)
treed276e0b12b9ed8aef352888e8ae0b2c684a6eaa4 /include/linux/cpufreq.h
parent1cd625b1f36ae7de63c97c0dab1647c53f4ca969 (diff)
cpufreq: add interactive governor support
This patch adds interactive governor support, the original files are coming from google android experimental android-3.14 branch, latest commit is: c0eb5f75d cpufreq: interactive: Use generic get_cpu_idle_time() from cpufreq.c Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r--include/linux/cpufreq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 4d89e0e6f9cc..b183c1e8e5c1 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -432,6 +432,9 @@ extern struct cpufreq_governor cpufreq_gov_ondemand;
#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE)
extern struct cpufreq_governor cpufreq_gov_conservative;
#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_conservative)
+#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE)
+extern struct cpufreq_governor cpufreq_gov_interactive;
+#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_interactive)
#endif
/*********************************************************************