Skip to contentSkip to conversation

pmdomain: qcom: cpr: add COMPILE_TEST support

PATCH In review Rosen Penev 2 participants 2 messages Apr 2 – Apr 8

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pmdomain: qcom: cpr: add COMPILE_TEST support

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

---
 drivers/pmdomain/qcom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pmdomain/qcom/Kconfig +1 -1
index 3d3948eabef0..72cbcfe7a0c9 100644
@@ -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
Signature · 1 line
2.53.0
#1 lore raw
Quoted 5 lines · Rosen Penev

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

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/pmdomain/qcom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pmdomain/qcom/Kconfig +1 -2
index 3d3948eabef0..72cbcfe7a0c9 100644
@@ -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