summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/Kconfig
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-28 02:33:29 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 15:01:37 +0100
commite6f036571e1f65021a442ec7aad087a6a239ecfb (patch)
treec92473c9a7629dd926c9a7099bc0be5651531233 /drivers/cpufreq/Kconfig
parent242aa883a64d8c54cfeee47f3603b21bc705e081 (diff)
downloadlinux-stable-e6f036571e1f65021a442ec7aad087a6a239ecfb.tar.gz
linux-stable-e6f036571e1f65021a442ec7aad087a6a239ecfb.tar.bz2
linux-stable-e6f036571e1f65021a442ec7aad087a6a239ecfb.zip
cpufreq: Select IRQ_WORK if CPU_FREQ_GOV_COMMON is set
Commit 0eb463be3436 (cpufreq: governor: Replace timers with utilization update callbacks) made CPU_FREQ select IRQ_WORK, but that's not necessary, as it is sufficient for IRQ_WORK to be selected by CPU_FREQ_GOV_COMMON, so modify the cpufreq Kconfig to that effect. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
-rw-r--r--drivers/cpufreq/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index dcb972a38fbc..aa403aa2b927 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -3,7 +3,6 @@ menu "CPU Frequency scaling"
config CPU_FREQ
bool "CPU Frequency scaling"
select SRCU
- select IRQ_WORK
help
CPU Frequency scaling allows you to change the clock speed of
CPUs on the fly. This is a nice method to save power, because
@@ -20,6 +19,7 @@ config CPU_FREQ
if CPU_FREQ
config CPU_FREQ_GOV_COMMON
+ select IRQ_WORK
bool
config CPU_FREQ_BOOST_SW