diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-24 23:13:09 +0100 |
---|---|---|
committer | Andy Gross <agross@codeaurora.org> | 2015-12-08 13:01:02 -0600 |
commit | d9d6888feb990422a1ad0b9c18dd54cdfcbf2a41 (patch) | |
tree | e92aa86d09be0d6834bf455a403cac7414c89c81 /drivers/soc/qcom/Kconfig | |
parent | 0c4cbf9ec253936c7942eaa24fb89ead1eb0e6d5 (diff) | |
download | linux-d9d6888feb990422a1ad0b9c18dd54cdfcbf2a41.tar.bz2 |
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 <arnd@arndb.de>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'drivers/soc/qcom/Kconfig')
-rw-r--r-- | drivers/soc/qcom/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |