aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2014-10-21 16:31:42 -0400
committerFelipe Balbi <balbi@ti.com>2014-11-03 11:05:07 -0500
commitc3761a79c14da73edfaaffb6bf24a87535bf20a8 (patch)
tree211b6a10dfe5c3fbc8ef999a004dbb165bfa0160 /drivers/usb
parent460d098cb6728134e0e4ba3d58e10bb43032daa5 (diff)
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 <paulz@synopsys.com> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc2/Kconfig2
1 files changed, 1 insertions, 1 deletions
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 @@
1config USB_DWC2 1config USB_DWC2
2 bool "DesignWare USB2 DRD Core Support" 2 bool "DesignWare USB2 DRD Core Support"
3 depends on USB 3 depends on USB || USB_GADGET
4 help 4 help
5 Say Y here if your system has a Dual Role Hi-Speed USB 5 Say Y here if your system has a Dual Role Hi-Speed USB
6 controller based on the DesignWare HSOTG IP Core. 6 controller based on the DesignWare HSOTG IP Core.