]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pmdomain: qcom: cpr: add COMPILE_TEST support
authorRosen Penev <rosenp@gmail.com>
Thu, 2 Apr 2026 02:54:06 +0000 (19:54 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 8 Apr 2026 09:50:04 +0000 (11:50 +0200)
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@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/qcom/Kconfig

index 3d3948eabef0f3c83a9a468aa22db74dcbe53018..72cbcfe7a0c96d7f5e8b043608962455fe9a9afe 100644 (file)
@@ -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