qcom: spm: allow compile-testing
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Oct 2021 15:42:02 +0000 (17:42 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 26 Oct 2021 18:01:40 +0000 (20:01 +0200)
commit4f22aa4569e55131d69dae87e76869070d62c392
tree4a04932670e023cea28ac1bc83fcd30310497ea8
parent2275be723d8a124fcd8a80b33537a3c0cacc5b5a
qcom: spm: allow compile-testing

ARM_QCOM_SPM_CPUIDLE can be selected when compile-testing on
other architectures, but this causes a Kconfig warning
for QCOM_SPM:

WARNING: unmet direct dependencies detected for QCOM_SPM
  Depends on [n]: ARCH_QCOM [=n]
  Selected by [y]:
  - ARM_QCOM_SPM_CPUIDLE [=y] && CPU_IDLE [=y] && (ARM [=y] || ARM64) && (ARCH_QCOM [=n] || COMPILE_TEST [=y]) && !ARM64 && MMU [=y]

Make it possible to also compile-test this one, which can
be done now that v5.15-rc5 lets you select QCOM_SCM everywhere.

Fixes: a871be6b8eee ("cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver")
Fixes: 498ba2a8a275 ("cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration")
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/qcom/Kconfig