Commit e56af94b authored by Gerhard Engleder's avatar Gerhard Engleder Committed by Greg Kroah-Hartman

misc: keba: Fix missing AUXILIARY_BUS dependency

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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407081327.2DR4Ltu9-lkp@intel.com/
Fixes: a1944676 ("misc: keba: Add basic KEBA CP500 system FPGA support")
Signed-off-by: default avatarGerhard Engleder <eg@keba.com>
Link: https://lore.kernel.org/r/20240708180049.12713-1-gerhard@engleder-embedded.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d2877a5
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
config KEBA_CP500 config KEBA_CP500
tristate "KEBA CP500 system FPGA support" tristate "KEBA CP500 system FPGA support"
depends on PCI depends on PCI
select AUXILIARY_BUS
help help
This driver supports the KEBA CP500 system FPGA, which is used in This driver supports the KEBA CP500 system FPGA, which is used in
KEBA CP500 devices. It registers all sub devices present on the CP500 KEBA CP500 devices. It registers all sub devices present on the CP500
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment