usb: remove redundant dependency on USB_SUPPORT
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 Jul 2016 08:23:18 +0000 (17:23 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Aug 2016 14:15:44 +0000 (16:15 +0200)
The whole Kconfig entries of the USB subsystem are surrounded with
"if USB_SUPPORT" ... "endif", so CONFIG_USB_SUPPORT=y is surely met
when these two Kconfig options are visible.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/Kconfig
drivers/usb/dwc3/Kconfig

index dd280108758f3aff975f25653119d107b1e6cc3a..253aac74cce19255106b3d1c701cc985f9991013 100644 (file)
@@ -85,7 +85,6 @@ config USB_OTG_FSM
 
 config USB_ULPI_BUS
        tristate "USB ULPI PHY interface support"
-       depends on USB_SUPPORT
        help
          UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
          USB 2.0 PHY interface. The ULPI specification defines a standard set
index a64ce1c94d6d36901a97cda2a62c536423420eb7..b97cde76914daae6290af9d101a3efa757072a00 100644 (file)
@@ -1,7 +1,7 @@
 config USB_DWC3
        tristate "DesignWare USB3 DRD Core Support"
        depends on (USB || USB_GADGET) && HAS_DMA
-       select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD
+       select USB_XHCI_PLATFORM if 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.