Skip to contentSkip to conversation

i2c: ibm_iic: Enable compile testing

PATCH New Rosen Penev 1 participant 1 message May 18 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: ibm_iic: Enable compile testing

Allow the IBM PPC 4xx I2C controller driver to be built when compile testing on PowerPC.

Keep the real hardware dependency on PPC 4xx platforms, while extending build coverage through COMPILE_TEST.

Assisted-by Codex:GPT-5.5
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
index 5648d4957872..c2d378e9a1b4 100644
@@ -730,7 +730,7 @@ config I2C_HISI
 
 config I2C_IBM_IIC
 	tristate "IBM PPC 4xx on-chip I2C interface"
-	depends on 4xx
+	depends on 4xx || (PPC && COMPILE_TEST)
 	help
 	  Say Y here if you want to use IIC peripheral found on
 	  embedded IBM PPC 4xx based systems.
Signature · 1 line
2.54.0