Skip to contentSkip to conversation

misc: keba: Fix missing I2C dependency

PATCH New Gerhard Engleder 1 participant 1 message Oct 16, 2024 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: keba: Fix missing I2C dependency

From: Gerhard Engleder <[email protected]>

Kernel test robot reported a build error on csky:

drivers/misc/keba/cp500.c:287:(.text+0x1c0): undefined reference to `i2c_verify_client'

Add I2C dependency to fix build error.

Fixes 794848300103 ("misc: keba: Add SPI controller device")
---
 drivers/misc/keba/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/misc/keba/Kconfig +1 -0
index dc27b902f34e..08c8970d8d58 100644
@@ -2,6 +2,7 @@
 config KEBA_CP500
 	tristate "KEBA CP500 system FPGA support"
 	depends on PCI
+	depends on I2C
 	select AUXILIARY_BUS
 	help
 	  This driver supports the KEBA CP500 system FPGA, which is used in
Signature · 1 line
2.39.2