Merge branch 'for-6.3/hid-bpf' into for-linus
[linux-block.git] / drivers / hid / Kconfig
index 3fa0fa75ce7ab4b940bc9d78cfa7a22d2025220f..82f64fb31fdab669bf81ccb415ed230d5734b13e 100644 (file)
@@ -2,13 +2,20 @@
 #
 # HID driver configuration
 #
-menu "HID support"
-     depends on INPUT
+menuconfig HID_SUPPORT
+       bool "HID bus support"
+       default y
+       depends on INPUT
+       help
+         This option adds core support for human interface device (HID).
+         You will also need drivers from the following menu to make use of it.
+
+if HID_SUPPORT
 
 config HID
-       tristate "HID bus support"
-       depends on INPUT
+       tristate "HID bus core support"
        default y
+       depends on INPUT
        help
          A human interface device (HID) is a type of computer device that
          interacts directly with and takes input from humans. The term "HID"
@@ -1295,6 +1302,8 @@ config HID_KUNIT_TEST
 
 endmenu
 
+source "drivers/hid/bpf/Kconfig"
+
 endif # HID
 
 source "drivers/hid/usbhid/Kconfig"
@@ -1307,4 +1316,4 @@ source "drivers/hid/amd-sfh-hid/Kconfig"
 
 source "drivers/hid/surface-hid/Kconfig"
 
-endmenu
+endif # HID_SUPPORT