Skip to contentSkip to conversation

misc: keba: Fix missing AUXILIARY_BUS dependency

PATCH New Gerhard Engleder 1 participant 1 message Jul 8, 2024 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

From: Gerhard Engleder <[email protected]>

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.

Fixes a1944676767e ("misc: keba: Add basic KEBA CP500 system FPGA support")
---
 drivers/misc/keba/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/misc/keba/Kconfig +1 -0
index 0ebca1d07ef4..5fbcbc2252ac 100644
@@ -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
Signature · 1 line
2.39.2