On Wednesday, October 22, 2014 5:32 AM, Dinh Nguyen wrote: > > From: Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx> > > 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 <dinguyen@xxxxxxxxxxxxxxxxxxxxx> Reviewed-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Best regards, Jingoo Han > --- > 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. > -- > 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html