[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241016182751.10457-1-gerhard@engleder-embedded.com>
Date: Wed, 16 Oct 2024 20:27:51 +0200
From: Gerhard Engleder <gerhard@...leder-embedded.com>
To: linux-kernel@...r.kernel.org
Cc: arnd@...db.de,
gregkh@...uxfoundation.org,
Gerhard Engleder <gerhard@...leder-embedded.com>,
kernel test robot <lkp@...el.com>,
Gerhard Engleder <eg@...a.com>
Subject: [PATCH] misc: keba: Fix missing I2C dependency
From: Gerhard Engleder <eg@...a.com>
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 <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410130817.NXBCxx4q-lkp@intel.com/
Signed-off-by: Gerhard Engleder <eg@...a.com>
---
drivers/misc/keba/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/keba/Kconfig b/drivers/misc/keba/Kconfig
index dc27b902f34e..08c8970d8d58 100644
--- a/drivers/misc/keba/Kconfig
+++ b/drivers/misc/keba/Kconfig
@@ -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
--
2.39.2
Powered by blists - more mailing lists