* [PATCH] i2c: hydra: Enable compile testing
@ 2026-05-18 4:09 Rosen Penev
0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-05-18 4:09 UTC (permalink / raw)
To: linux-i2c; +Cc: Andi Shyti, open list
Allow the Apple Hydra Mac I/O I2C controller driver to be built
when compile testing on PowerPC.
Keep the PCI dependency separate so the driver still only builds with
PCI support enabled.
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
drivers/i2c/busses/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index c2d378e9a1b4..f7d15fa9580e 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -370,7 +370,8 @@ comment "Mac SMBus host controller drivers"
config I2C_HYDRA
tristate "CHRP Apple Hydra Mac I/O I2C interface"
- depends on PCI && PPC_CHRP
+ depends on PCI
+ depends on PPC_CHRP || (PPC && COMPILE_TEST)
select I2C_ALGOBIT
help
This supports the use of the I2C interface in the Apple Hydra Mac
--
2.54.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-18 4:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18 4:09 [PATCH] i2c: hydra: 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