Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04d06ad0 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Greg Kroah-Hartman
Browse files

USB: 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: default avatarJan Engelhardt <jengelh@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e8054854
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
@@ -2,8 +2,12 @@
# USB device configuration
# USB device configuration
#
#


menu "USB support"
menuconfig USB_SUPPORT
	bool "USB support"
	depends on HAS_IOMEM
	depends on HAS_IOMEM
	default y

if USB_SUPPORT


# Host-side USB depends on having a host controller
# Host-side USB depends on having a host controller
# NOTE:  dummy_hcd is always an option, but it's ignored here ...
# NOTE:  dummy_hcd is always an option, but it's ignored here ...
@@ -130,5 +134,4 @@ source "drivers/usb/atm/Kconfig"


source "drivers/usb/gadget/Kconfig"
source "drivers/usb/gadget/Kconfig"


endmenu
endif # USB_SUPPORT