[PATCH] pmdomain: qcom: cpr: add COMPILE_TEST support

From: Rosen Penev

Date: Wed Apr 01 2026 - 22:57:13 EST


Allows the buildbots to build the driver on other platforms. There's
nothing special arch specific thing going on here.

Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
---
drivers/pmdomain/qcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pmdomain/qcom/Kconfig b/drivers/pmdomain/qcom/Kconfig
index 3d3948eabef0..72cbcfe7a0c9 100644
--- a/drivers/pmdomain/qcom/Kconfig
+++ b/drivers/pmdomain/qcom/Kconfig
@@ -3,7 +3,7 @@ menu "Qualcomm PM Domains"

config QCOM_CPR
tristate "QCOM Core Power Reduction (CPR) support"
- depends on ARCH_QCOM && HAS_IOMEM
+ depends on (ARCH_QCOM || COMPILE_TEST) && HAS_IOMEM
select PM_OPP
select REGMAP
help
--
2.53.0