usb: dwc3: Add dual-role support
[linux-2.6-block.git] / drivers / usb / dwc3 / Kconfig
index c5aa235863e8c7e88b30544f8e1aba98c9a18d03..aee55114d269a30f5799e0171e37b5d34ab6a3c1 100644 (file)
@@ -41,6 +41,7 @@ config USB_DWC3_GADGET
 config USB_DWC3_DUAL_ROLE
        bool "Dual Role mode"
        depends on ((USB=y || USB=USB_DWC3) && (USB_GADGET=y || USB_GADGET=USB_DWC3))
+       depends on (EXTCON=y || EXTCON=USB_DWC3)
        help
          This is the default mode of working of DWC3 controller where
          both host and gadget features are enabled.