aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/Kconfig
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2014-10-21 15:31:42 -0500
committerFelipe Balbi <balbi@ti.com>2014-11-03 10:05:07 -0600
commitc3761a79c14da73edfaaffb6bf24a87535bf20a8 (patch)
tree211b6a10dfe5c3fbc8ef999a004dbb165bfa0160 /drivers/usb/dwc2/Kconfig
parentusb: dwc3: make HIRD threshold configurable (diff)
downloadlinux-dev-c3761a79c14da73edfaaffb6bf24a87535bf20a8.tar.xz
linux-dev-c3761a79c14da73edfaaffb6bf24a87535bf20a8.zip
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/dwc2/Kconfig')
-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 @@
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.