]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: select ARM_CPU_SUSPEND for CPU_IDLE as well
authorArnd Bergmann <arnd@arndb.de>
Mon, 5 Feb 2018 22:06:43 +0000 (23:06 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 27 Mar 2018 13:09:55 +0000 (15:09 +0200)
commit22e632d0d607c674e279ef73c368388409645742
treec9889c8f6c59d5a40ad0fed1641a5e17dfd032a4
parent81c144c88e4f6b1ebf54e58199842e38a89f2491
ARM: imx: select ARM_CPU_SUSPEND for CPU_IDLE as well

The cpuidle support calls cpu_suspend(), which is compiled conditionally,
and fails to link unless something selects CONFIG_ARM_CPU_SUSPEND.

arch/arm/mach-imx/cpuidle-imx6sx.o: In function `imx6sx_enter_wait':
cpuidle-imx6sx.c:(.text+0x6c): undefined reference to `cpu_suspend'

This adds an explicit select statement here.

Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-imx/Kconfig