i2c: hydra: Enable compile testing
PATCH 1/1 i2c: hydra: Enable compile testing
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 <[email protected]>
--- drivers/i2c/busses/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +2 -1
@@ -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
Signature · 1 line
2.54.0