diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-06-11 04:09:45 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-11 08:24:29 -0400 |
commit | b39b0981b0811943d724915a8a0150d6ac5110e0 (patch) | |
tree | 48cc0b1e45c62650ee07559b1d14a5ab76cd9fe8 /drivers/cpuidle | |
parent | 6d19cb93d60a5403753756c502699751116c954c (diff) |
cpuidle: Fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning
Before commit d6f346f (cpuidle: improve governor Kconfig options),
the CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED option didn't depend on
CONFIG_CPU_IDLE but now it has been moved under the CPU_IDLE
menuconfig.
That raises the following warnings:
warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED
which has unmet direct dependencies (CPU_IDLE)
warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED
which has unmet direct dependencies (CPU_IDLE)
because the tegra2 and omap4 Kconfig files select this option
without checking if CPU_IDLE is set.
Fix that by moving ARCH_NEEDS_CPU_IDLE_COUPLED outside of CPU_IDLE.
[rjw: Changelog]
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r-- | drivers/cpuidle/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index a7d2e833f70c..81de5d96749b 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig | |||
@@ -29,9 +29,6 @@ config CPU_IDLE_GOV_MENU | |||
29 | bool "Menu governor (for tickless system)" | 29 | bool "Menu governor (for tickless system)" |
30 | default y | 30 | default y |
31 | 31 | ||
32 | config ARCH_NEEDS_CPU_IDLE_COUPLED | ||
33 | def_bool n | ||
34 | |||
35 | config CPU_IDLE_CALXEDA | 32 | config CPU_IDLE_CALXEDA |
36 | bool "CPU Idle Driver for Calxeda processors" | 33 | bool "CPU Idle Driver for Calxeda processors" |
37 | depends on ARCH_HIGHBANK | 34 | depends on ARCH_HIGHBANK |
@@ -45,3 +42,6 @@ config CPU_IDLE_ZYNQ | |||
45 | Select this to enable cpuidle on Xilinx Zynq processors. | 42 | Select this to enable cpuidle on Xilinx Zynq processors. |
46 | 43 | ||
47 | endif | 44 | endif |
45 | |||
46 | config ARCH_NEEDS_CPU_IDLE_COUPLED | ||
47 | def_bool n | ||