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

Rosen Penev posted 1 patch 2 months, 1 week ago
drivers/pmdomain/qcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] pmdomain: qcom: cpr: add COMPILE_TEST support
Posted by Rosen Penev 2 months, 1 week ago
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>
---
 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
Re: [PATCH] pmdomain: qcom: cpr: add COMPILE_TEST support
Posted by Ulf Hansson 2 months ago
On Thu, 2 Apr 2026 at 04:54, Rosen Penev <rosenp@gmail.com> wrote:
>
> 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>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  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
>