Skip to content

Commit

Permalink
usb: Put USB Kconfig items back under USB.
Browse files Browse the repository at this point in the history
commit 53c6bc2 (usb: Don't make
USB_ARCH_HAS_{XHCI,OHCI,EHCI} depend on USB_SUPPORT.)  Removed the
dependency of the USB_ARCH_HAS_* symbols on USB_SUPPORT.  However the
resulting Kconfig somehow caused many of the USB configuration items
to appear under the top level devices menu.

To fix this we reunite the 'menuconfig USB_SUPPORT' with the 'if
USB_SUPPORT', and the config items magically go back to their desired
location.

Reported-by: Julian Wollrath <[email protected]>
Reported-by: Nobuhiro Iwamatsu <[email protected]>
Reported-by: Borislav Petkov <[email protected]>
Reported-by: Rupesh Gujare <[email protected]>
Reported-by: Feng King <[email protected]>
Reported-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Signed-off-by: David Daney <[email protected]>
Tested-by: Peter Chen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
daviddaney authored and gregkh committed Apr 6, 2012
1 parent dd775ae commit a8edc42
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
# USB device configuration
#

menuconfig USB_SUPPORT
bool "USB support"
depends on HAS_IOMEM
default y
---help---
This option adds core support for Universal Serial Bus (USB).
You will also need drivers from the following menu to make use of it.

# many non-PCI SOC chips embed OHCI
config USB_ARCH_HAS_OHCI
boolean
Expand Down Expand Up @@ -63,6 +55,14 @@ config USB_ARCH_HAS_XHCI
boolean
default PCI

menuconfig USB_SUPPORT
bool "USB support"
depends on HAS_IOMEM
default y
---help---
This option adds core support for Universal Serial Bus (USB).
You will also need drivers from the following menu to make use of it.

if USB_SUPPORT

config USB_COMMON
Expand Down

0 comments on commit a8edc42

Please sign in to comment.