From: Arnd Bergmann Date: Tue, 24 Nov 2015 22:13:09 +0000 (+0100) Subject: ARM: qcom: select ARM_CPU_SUSPEND for power management X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9d6888feb990422a1ad0b9c18dd54cdfcbf2a41;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: qcom: select ARM_CPU_SUSPEND for power management The qcom spm driver uses cpu_resume_arm(), which is not included in the kernel in all configurations: drivers/built-in.o: In function `qcom_cpu_spc': :(.text+0xbc022): undefined reference to `cpu_suspend' drivers/built-in.o: In function `qcom_cpuidle_init': :(.init.text+0x610c): undefined reference to `cpu_resume_arm' This adds a 'select' Kconfig statement to ensure it's always enabled. Signed-off-by: Arnd Bergmann Reviewed-by: Stephen Boyd Signed-off-by: Andy Gross --- diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 57b7145358e7..4c98ffe968c7 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -13,6 +13,7 @@ config QCOM_GSBI config QCOM_PM bool "Qualcomm Power Management" depends on ARCH_QCOM && !ARM64 + select ARM_CPU_SUSPEND select QCOM_SCM help QCOM Platform specific power driver to manage cores and L2 low power