aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-05-11 02:04:13 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 19:29:46 -0400
commit04d06ad0f1fdb499af84ae3d7969e2136a462f38 (patch)
tree55dd93f0ebb5de7009344a0954fa20378f70d083 /drivers/usb/Kconfig
parente8054854221d9d51e381c64d365404f4c1c30f50 (diff)
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/Kconfig9
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 @@
2# USB device configuration 2# USB device configuration
3# 3#
4 4
5menu "USB support" 5menuconfig USB_SUPPORT
6 bool "USB support"
6 depends on HAS_IOMEM 7 depends on HAS_IOMEM
8 default y
9
10if USB_SUPPORT
7 11
8# Host-side USB depends on having a host controller 12# Host-side USB depends on having a host controller
9# NOTE: dummy_hcd is always an option, but it's ignored here ... 13# NOTE: dummy_hcd is always an option, but it's ignored here ...
@@ -130,5 +134,4 @@ source "drivers/usb/atm/Kconfig"
130 134
131source "drivers/usb/gadget/Kconfig" 135source "drivers/usb/gadget/Kconfig"
132 136
133endmenu 137endif # USB_SUPPORT
134