usb: dwc3: Fix the dwc3 dependency
authorjoseph daniel <josephdanielwalter@gmail.com>
Fri, 11 May 2012 10:23:40 +0000 (15:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 May 2012 22:17:31 +0000 (15:17 -0700)
The warning shown up when ran with randconfig,

warning: (USB_DWC3) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT && USB_XHCI_HCD)

Signed-off-by: joseph daniel <josephdanielwalter@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/Kconfig

index d8f741f9e56e65bb3b32802bd7548c93b76dd978..d13c60f421399abb8eab352dd582020a9f614bdd 100644 (file)
@@ -4,7 +4,7 @@ config USB_DWC3
        select USB_OTG_UTILS
        select USB_GADGET_DUALSPEED
        select USB_GADGET_SUPERSPEED
-       select USB_XHCI_PLATFORM
+       select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD
        help
          Say Y or M here if your system has a Dual Role SuperSpeed
          USB controller based on the DesignWare USB3 IP Core.