HID: Use menuconfig objects
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Mon, 30 Apr 2007 11:27:48 +0000 (13:27 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 9 Jul 2007 12:13:30 +0000 (14:13 +0200)
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>
drivers/hid/Kconfig

index 8fbe9fdac128ea232099499729f80693b3aa0acf..d96eb086582997c4586ce29db9f119d5130b7f84 100644 (file)
@@ -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"
@@ -38,5 +42,4 @@ config HID_DEBUG
 
 source "drivers/hid/usbhid/Kconfig"
 
-endmenu
-
+endif # HID_SUPPORT