* [PATCH] i2c: ibm_iic: Enable compile testing
@ 2026-05-18 3:35 Rosen Penev
0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-05-18 3:35 UTC (permalink / raw)
To: linux-i2c; +Cc: Andi Shyti, open list
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
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 5648d4957872..c2d378e9a1b4 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -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.
--
2.54.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-18 3:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18 3:35 [PATCH] i2c: ibm_iic: Enable compile testing Rosen Penev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®