[PATCH] mfd: altera-sysmgr: enable compile testing

Johan Hovold posted 1 patch 4 months, 2 weeks ago
drivers/mfd/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] mfd: altera-sysmgr: enable compile testing
Posted by Johan Hovold 4 months, 2 weeks ago
Nothing seems to prevent this driver from being compile tested so allow
that.

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/mfd/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 3c1b58181f79..aa950b0cfda3 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -45,7 +45,8 @@ config MFD_ALTERA_A10SR
 
 config MFD_ALTERA_SYSMGR
 	bool "Altera SOCFPGA System Manager"
-	depends on ARCH_INTEL_SOCFPGA && OF
+	depends on ARCH_INTEL_SOCFPGA || COMPILE_TEST
+	depends on OF
 	select MFD_SYSCON
 	help
 	  Select this to get System Manager support for all Altera branded
-- 
2.49.1
Re: [PATCH] mfd: altera-sysmgr: enable compile testing
Posted by Lee Jones 4 months ago
On Thu, 25 Sep 2025, Johan Hovold wrote:

> Nothing seems to prevent this driver from being compile tested so allow
> that.
> 
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
>  drivers/mfd/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 3c1b58181f79..aa950b0cfda3 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -45,7 +45,8 @@ config MFD_ALTERA_A10SR
>  
>  config MFD_ALTERA_SYSMGR
>  	bool "Altera SOCFPGA System Manager"
> -	depends on ARCH_INTEL_SOCFPGA && OF
> +	depends on ARCH_INTEL_SOCFPGA || COMPILE_TEST
> +	depends on OF
>  	select MFD_SYSCON
>  	help
>  	  Select this to get System Manager support for all Altera branded

Applied, thanks

-- 
Lee Jones [李琼斯]