Commit 9a23fe65cf36efc6cb40e96405a3f142c7732805
Committed by
Rafael J. Wysocki
1 parent
d2b578e5fc
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
cpuidle / kirkwood: remove redundant Kconfig option
When the CPU_IDLE and the ARCH_KIRKWOOD options are set it is pointless to define a new option CPU_IDLE_KIRKWOOD because it is redundant. The Makefile drivers directory contains a condition to compile the cpuidle drivers: obj-$(CONFIG_CPU_IDLE) += cpuidle/ Hence, if CPU_IDLE is not set we won't enter this directory. This patch removes the useless Kconfig option and replaces the condition in the Makefile by CONFIG_ARCH_KIRKWOOD. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing 3 changed files with 1 additions and 8 deletions Side-by-side Diff
arch/arm/configs/kirkwood_defconfig
drivers/cpuidle/Kconfig
drivers/cpuidle/Makefile