[PATCH 2/2] mfd: cgbc: Allow compile testing

Thomas Richard (congatec GmbH) thomas.richard at bootlin.com
Fri Oct 30 03:00:48 PDT 2026


> cgbc-core.c driver does not use any X86-specific headers, so looks like
> it can be build tested everywhere for increased build coverage.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 87ed55c155f0..de957f574056 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -255,7 +255,7 @@ config MFD_AXP20X_RSB
>  config MFD_CGBC
>  	tristate "Congatec Board Controller"
>  	select MFD_CORE
> -	depends on X86
> +	depends on X86 || COMPILE_TEST
>  	help
>  	  This is the core driver of the Board Controller found on some Congatec
>  	  SMARC modules. The Board Controller provides functions like watchdog,

Reviewed-by: Thomas Richard (congatec GmbH) <thomas.richard at bootlin.com>

-- 
Best Regards,
Thomas Richard




More information about the linux-arm-kernel mailing list