usb: gadget: udc: USB_RENESAS_USB3 should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 6 Jul 2017 09:48:26 +0000 (11:48 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 17 Jul 2017 08:00:22 +0000 (11:00 +0300)
commitf84a31eb982950e3b999022b742424e080ff72e8
tree0d4755d7714d5f52d116686c8a5fe2e97cc119e8
parentbee91869436dfb0e444139a52228cef0ce758cd8
usb: gadget: udc: USB_RENESAS_USB3 should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "usb_gadget_map_request" [drivers/usb/gadget/udc/renesas_usb3.ko] undefined!
    ERROR: "usb_gadget_unmap_request" [drivers/usb/gadget/udc/renesas_usb3.ko] undefined!
    ERROR: "bad_dma_ops" [drivers/usb/gadget/udc/renesas_usb3.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/Kconfig