From: Arnd Bergmann Date: Tue, 30 Apr 2013 21:00:47 +0000 (+0200) Subject: cpuidle: calxeda: select ARM_CPU_SUSPEND X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6eed846fc2dea75e945141f6ea806823fb66a278;p=openwrt%2Fstaging%2Fblogic.git cpuidle: calxeda: select ARM_CPU_SUSPEND Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND, as shown by this linker error: drivers/built-in.o: In function `calxeda_pwrdown_idle': drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend' drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume' Signed-off-by: Arnd Bergmann Acked-by: Rafael J. Wysocki Acked-by: Rob Herring Acked-by: Daniel Lezcano Cc: linux-pm@vger.kernel.org --- diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index c4cc27e5c8a5..e21cdfa4002a 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig @@ -36,6 +36,7 @@ if CPU_IDLE config CPU_IDLE_CALXEDA bool "CPU Idle Driver for Calxeda processors" depends on ARCH_HIGHBANK + select ARM_CPU_SUSPEND help Select this to enable cpuidle on Calxeda processors.