> From: [email protected] [mailto:[email protected]]
> Sent: Tuesday, October 21, 2014 1:32 PM
> 
> From: Dinh Nguyen <[email protected]>
> 
> This patch allows the gadget portion of the DWC2 driver to get built when
> (!USB && USB_GADGET) condition is encountered.
> 
> Signed-off-by: Dinh Nguyen <[email protected]>
> ---
>  drivers/usb/dwc2/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig
> index f93807b..4d02718 100644
> --- a/drivers/usb/dwc2/Kconfig
> +++ b/drivers/usb/dwc2/Kconfig
> @@ -1,6 +1,6 @@
>  config USB_DWC2
>       bool "DesignWare USB2 DRD Core Support"
> -     depends on USB
> +     depends on USB || USB_GADGET
>       help
>         Say Y here if your system has a Dual Role Hi-Speed USB
>         controller based on the DesignWare HSOTG IP Core.

Acked-by: Paul Zimmerman <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to