Skip to content

Commit 6d34054

Browse files
geertuAndi Shyti
authored andcommitted
i2c: keba: I2C_KEBA should depend on KEBA_CP500
The KEBA I2C controller is only present on KEBA PLC devices. Hence add a dependency on KEBA_CP500, to prevent asking the user about this driver when configuring a kernel without KEBA CP500 system FPGA support. Fixes: c7e08c8 ("i2c: keba: Add KEBA I2C controller support") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Gerhard Engleder <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent f2990f8 commit 6d34054

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ config I2C_JZ4780
782782
config I2C_KEBA
783783
tristate "KEBA I2C controller support"
784784
depends on HAS_IOMEM
785+
depends on KEBA_CP500 || COMPILE_TEST
785786
select AUXILIARY_BUS
786787
help
787788
This driver supports the I2C controller found in KEBA system FPGA

0 commit comments

Comments
 (0)