Skip to content

Commit

Permalink
USB: 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jan Engelhardt authored and Greg Kroah-Hartman committed Jul 12, 2007
1 parent e805485 commit 04d06ad
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions drivers/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
# USB device configuration
#

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

if USB_SUPPORT

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

source "drivers/usb/gadget/Kconfig"

endmenu

endif # USB_SUPPORT

0 comments on commit 04d06ad

Please sign in to comment.