cpuidle: Fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 11 Jun 2013 08:09:45 +0000 (08:09 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Jun 2013 12:24:29 +0000 (14:24 +0200)
commitb39b0981b0811943d724915a8a0150d6ac5110e0
tree48cc0b1e45c62650ee07559b1d14a5ab76cd9fe8
parent6d19cb93d60a5403753756c502699751116c954c
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>
drivers/cpuidle/Kconfig