diff options
author | Dinh Nguyen <dinguyen@opensource.altera.com> | 2014-10-21 22:31:42 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 17:05:07 +0100 |
commit | c3761a79c14da73edfaaffb6bf24a87535bf20a8 (patch) | |
tree | 211b6a10dfe5c3fbc8ef999a004dbb165bfa0160 | |
parent | usb: dwc3: make HIRD threshold configurable (diff) | |
download | linux-c3761a79c14da73edfaaffb6bf24a87535bf20a8.tar.xz linux-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>
-rw-r--r-- | drivers/usb/dwc2/Kconfig | 2 |
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. |