From akpm@linux-foundation.org Thu May 10 23:04:43 2007 Message-Id: <200705110604.l4B64Djk008272@shell0.pdx.osdl.net> Subject: USB: Use menuconfig objects To: greg@kroah.com Cc: akpm@linux-foundation.org, jengelh@linux01.gwdg.de, jengelh@gmx.de From: akpm@linux-foundation.org Date: Thu, 10 May 2007 23:04:13 -0700 From: Jan Engelhardt 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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- drivers/usb/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- 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