Skip to contentSkip to conversation

i2c: nomadik: Enable compile testing for the Nomadik driver

PATCH Applied Andi Shyti 1 participant 2 messages Dec 11, 2024 – Dec 26, 2024 I2C subsystem host drivers

lore
Share & tools
lore

Andi Shyti

author maintainer
#0 lore raw

PATCH 1/1 i2c: nomadik: Enable compile testing for the Nomadik driver

The AMBA bus header files do not generate compilation errors even when the AMBA bus is not enabled in Kconfig via ARM_AMBA.

This allows the Nomadik driver to be compiled for testing purposes with the COMPILE_TEST option enabled.

Cc Linus Walleij <[email protected]>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
index ceb3ecdf884b..ae4772faa876 100644
@@ -910,7 +910,7 @@ config I2C_MXS
 
 config I2C_NOMADIK
 	tristate "ST-Ericsson Nomadik/Ux500 I2C Controller"
-	depends on ARM_AMBA
+	depends on ARM_AMBA || COMPILE_TEST
 	help
 	  If you say yes to this option, support will be included for the
 	  I2C interface from ST-Ericsson's Nomadik and Ux500 architectures,
Signature · 1 line
2.45.2
author maintainer Applied
#1 lore raw

Hi,

Quoted 8 lines · Andi Shyti

The AMBA bus header files do not generate compilation errors even when the AMBA bus is not enabled in Kconfig via ARM_AMBA.

This allows the Nomadik driver to be compiled for testing purposes with the COMPILE_TEST option enabled.

Cc Linus Walleij <[email protected]>

merged to i2c/i2c-host.

Andi