From: Dinh Nguyen Date: Tue, 21 Oct 2014 20:31:42 +0000 (-0500) Subject: usb: dwc2: allow dwc2 to get built when USB_GADGET=m X-Git-Tag: v3.19-rc1~80^2~32^2~102 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c3761a79c14da73edfaaffb6bf24a87535bf20a8;p=karo-tx-linux.git usb: dwc2: allow dwc2 to get built when USB_GADGET=m This patch allows the gadget portion of the DWC2 driver to get built when (!USB && USB_GADGET) condition is encountered. Acked-by: Paul Zimmerman Signed-off-by: Dinh Nguyen Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig index f93807b3631a..4d027180cea1 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.