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>
This commit is contained in:
parent
6d19cb93d6
commit
b39b0981b0
@ -29,9 +29,6 @@ config CPU_IDLE_GOV_MENU
|
|||||||
bool "Menu governor (for tickless system)"
|
bool "Menu governor (for tickless system)"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config ARCH_NEEDS_CPU_IDLE_COUPLED
|
|
||||||
def_bool n
|
|
||||||
|
|
||||||
config CPU_IDLE_CALXEDA
|
config CPU_IDLE_CALXEDA
|
||||||
bool "CPU Idle Driver for Calxeda processors"
|
bool "CPU Idle Driver for Calxeda processors"
|
||||||
depends on ARCH_HIGHBANK
|
depends on ARCH_HIGHBANK
|
||||||
@ -45,3 +42,6 @@ config CPU_IDLE_ZYNQ
|
|||||||
Select this to enable cpuidle on Xilinx Zynq processors.
|
Select this to enable cpuidle on Xilinx Zynq processors.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config ARCH_NEEDS_CPU_IDLE_COUPLED
|
||||||
|
def_bool n
|
||||||
|
Loading…
Reference in New Issue
Block a user