summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorGerhard Engleder <eg@keba.com>2024-07-08 20:00:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-09 18:54:38 +0200
commite56af94b9b5487a71f8c705c83ac5f7bc28ae1a2 (patch)
tree4b8ecafe9106af28d34bc5cb9b0a76f956365b35 /drivers/misc
parent9d2877a51f203bf3a3e7c17217917e512e141099 (diff)
downloadlwn-e56af94b9b5487a71f8c705c83ac5f7bc28ae1a2.tar.gz
lwn-e56af94b9b5487a71f8c705c83ac5f7bc28ae1a2.zip
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: kernel test robot <lkp@intel.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@keba.com> Link: https://lore.kernel.org/r/20240708180049.12713-1-gerhard@engleder-embedded.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/keba/Kconfig1
1 files changed, 1 insertions, 0 deletions
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