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

Krzysztof Kozlowski krzysztof.kozlowski at oss.qualcomm.com
Fri Oct 30 07:02:42 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.

Reviewed-by: Andy Shevchenko <andriy.shevchenko at intel.com>
Reviewed-by: Thomas Richard (congatec GmbH) <thomas.richard at bootlin.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>

---

Changes in v2:
1. Add tags
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the linux-arm-kernel mailing list