Skip to content

Commit 4f22aa4

Browse files
committed
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: a871be6 ("cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver") Fixes: 498ba2a ("cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration") Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 2275be7 commit 4f22aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/qcom/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ config QCOM_SOCINFO
192192

193193
config QCOM_SPM
194194
tristate "Qualcomm Subsystem Power Manager (SPM)"
195-
depends on ARCH_QCOM
195+
depends on ARCH_QCOM || COMPILE_TEST
196196
select QCOM_SCM
197197
help
198198
Enable the support for the Qualcomm Subsystem Power Manager, used

0 commit comments

Comments
 (0)