diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-05-10 23:04:13 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 16:29:46 -0700 |
commit | 04d06ad0f1fdb499af84ae3d7969e2136a462f38 (patch) | |
tree | 55dd93f0ebb5de7009344a0954fa20378f70d083 /drivers/usb/Kconfig | |
parent | e8054854221d9d51e381c64d365404f4c1c30f50 (diff) | |
download | blackbird-obmc-linux-04d06ad0f1fdb499af84ae3d7969e2136a462f38.tar.gz blackbird-obmc-linux-04d06ad0f1fdb499af84ae3d7969e2136a462f38.zip |
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: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r-- | drivers/usb/Kconfig | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index 15499b7e33f4..7ee61f5655ba 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -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 ... @@ -130,5 +134,4 @@ source "drivers/usb/atm/Kconfig" source "drivers/usb/gadget/Kconfig" -endmenu - +endif # USB_SUPPORT |