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

From: Thomas Richard (congatec GmbH)

Date: Fri Oct 30 2026 - 06:07:49 EST


> 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@xxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>

--
Best Regards,
Thomas Richard