summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-12-11 23:12:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-22 22:03:49 +0100
commit109df086e002f253569de47e3a709403d3388a02 (patch)
tree3679bfbef9e6044d4e15fae831ba49696d00d5fe /drivers/cpufreq/Kconfig
parentcpufreq: Make ARM big.LITTLE switcher depend on ARM (diff)
downloadlinux-109df086e002f253569de47e3a709403d3388a02.tar.xz
linux-109df086e002f253569de47e3a709403d3388a02.zip
cpufreq: Select PM_OPP rather than depending on it
PM_OPP is a helper library used by several of the existing cpufreq drivers. Some of the drivers select this symbol while others depend on it and rely on the architecture to enable it. Make this behaviour more consistent and obvious by having all the drivers select the symbol. This will also allow better build coverage of the affected drivers. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
-rw-r--r--drivers/cpufreq/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 38093e272377..386dbc9ccdfd 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -181,7 +181,8 @@ config CPU_FREQ_GOV_CONSERVATIVE
config GENERIC_CPUFREQ_CPU0
tristate "Generic CPU0 cpufreq driver"
- depends on HAVE_CLK && REGULATOR && PM_OPP && OF
+ depends on HAVE_CLK && REGULATOR && OF
+ select PM_OPP
help
This adds a generic cpufreq driver for CPU0 frequency management.
It supports both uniprocessor (UP) and symmetric multiprocessor (SMP)