mirror of https://gitee.com/openkylin/linux.git
HID: Use menuconfig objects
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>
This commit is contained in:
parent
defd208681
commit
3cd709866f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue