[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240708180049.12713-1-gerhard@engleder-embedded.com>
Date: Mon, 8 Jul 2024 20:00:49 +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 AUXILIARY_BUS dependency
From: Gerhard Engleder <eg@...a.com>
The cp500 driver creates auxiliary devices. Kernel configs without
CONFIG_AUXILIARY_BUS lead to warnings like this:
cp500.c: undefined reference to `auxiliary_device_init'
cp500.c: undefined reference to `__auxiliary_device_add'
Add missing dependency to AUXILIARY_BUS to KEBA_CP500 Kconfig.
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407081327.2DR4Ltu9-lkp@intel.com/
Fixes: a1944676767e ("misc: keba: Add basic KEBA CP500 system FPGA support")
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 0ebca1d07ef4..5fbcbc2252ac 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
+ select AUXILIARY_BUS
help
This driver supports the KEBA CP500 system FPGA, which is used in
KEBA CP500 devices. It registers all sub devices present on the CP500
--
2.39.2
Powered by blists - more mailing lists