1 From: Arnd Bergmann <arnd@arndb.de>
2 Date: Tue, 24 Nov 2015 23:13:09 +0100
3 Subject: [PATCH] ARM: qcom: select ARM_CPU_SUSPEND for power management
5 The qcom spm driver uses cpu_resume_arm(), which is not included
6 in the kernel in all configurations:
8 drivers/built-in.o: In function `qcom_cpu_spc':
9 :(.text+0xbc022): undefined reference to `cpu_suspend'
10 drivers/built-in.o: In function `qcom_cpuidle_init':
11 :(.init.text+0x610c): undefined reference to `cpu_resume_arm'
13 This adds a 'select' Kconfig statement to ensure it's always
16 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
17 Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
18 Signed-off-by: Andy Gross <agross@codeaurora.org>
21 --- a/drivers/soc/qcom/Kconfig
22 +++ b/drivers/soc/qcom/Kconfig
23 @@ -13,6 +13,7 @@ config QCOM_GSBI
25 bool "Qualcomm Power Management"
26 depends on ARCH_QCOM && !ARM64
27 + select ARM_CPU_SUSPEND
30 QCOM Platform specific power driver to manage cores and L2 low power