Skip to content

Commit

Permalink
HID: Use menuconfig objects
Browse files Browse the repository at this point in the history
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jan Engelhardt authored and Jiri Kosina committed Jul 9, 2007
1 parent defd208 commit 3cd7098
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions drivers/hid/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#
# HID driver configuration
#
menu "HID Devices"
menuconfig HID_SUPPORT
bool "HID Devices"
depends on INPUT
default y

if HID_SUPPORT

config HID
tristate "Generic HID support"
Expand Down Expand Up @@ -38,5 +42,4 @@ config HID_DEBUG

source "drivers/hid/usbhid/Kconfig"

endmenu

endif # HID_SUPPORT

0 comments on commit 3cd7098

Please sign in to comment.