]> Git Repo - J-linux.git/commitdiff
misc: keba: Fix missing I2C dependency
authorGerhard Engleder <[email protected]>
Wed, 16 Oct 2024 18:27:51 +0000 (20:27 +0200)
committerGreg Kroah-Hartman <[email protected]>
Fri, 18 Oct 2024 11:42:18 +0000 (13:42 +0200)
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")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Gerhard Engleder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/misc/keba/Kconfig

index dc27b902f34e90aaf42e84363045eaab73e65111..08c8970d8d58ba465babd2669d338c22764d20f8 100644 (file)
@@ -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
This page took 0.056188 seconds and 4 git commands to generate.