diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-02-16 16:10:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-20 20:23:02 -0800 |
commit | a057c3259ab6ecab477379d23e27ea0afdb219e6 (patch) | |
tree | 3d873c5fd0047bd0633f0fb2e6e458de5c37078d /drivers/usb/dwc2 | |
parent | 58f2266f4019b9d023979de31950d34cce23b43c (diff) | |
download | talos-op-linux-a057c3259ab6ecab477379d23e27ea0afdb219e6.tar.gz talos-op-linux-a057c3259ab6ecab477379d23e27ea0afdb219e6.zip |
usb: dwc2: USB_DWC2 should depend on HAS_DMA
If NO_DMA=y:
ERROR: "usb_gadget_map_request" [drivers/usb/dwc2/dwc2.ko] undefined!
ERROR: "usb_gadget_unmap_request" [drivers/usb/dwc2/dwc2.ko] undefined!
ERROR: "bad_dma_ops" [drivers/usb/dwc2/dwc2.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r-- | drivers/usb/dwc2/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig index b56920a56a7c..c1f29caa8990 100644 --- a/drivers/usb/dwc2/Kconfig +++ b/drivers/usb/dwc2/Kconfig @@ -1,5 +1,6 @@ config USB_DWC2 tristate "DesignWare USB2 DRD Core Support" + depends on HAS_DMA depends on USB || USB_GADGET depends on HAS_IOMEM help |