diff options
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 @@ | |||
2 | # USB device configuration | 2 | # USB device configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "USB support" | 5 | menuconfig USB_SUPPORT |
6 | bool "USB support" | ||
6 | depends on HAS_IOMEM | 7 | depends on HAS_IOMEM |
8 | default y | ||
9 | |||
10 | if 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 | ||
131 | source "drivers/usb/gadget/Kconfig" | 135 | source "drivers/usb/gadget/Kconfig" |
132 | 136 | ||
133 | endmenu | 137 | endif # USB_SUPPORT |
134 | |||