usb: gadget: USB_RENESAS_USBHS_UDC should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 29 Aug 2014 19:31:40 +0000 (21:31 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 2 Sep 2014 14:16:45 +0000 (09:16 -0500)
commitfa9a582da9e78c8498654d5c9c221ec3690944c1
tree2a9bb1d20c3ac3041d78ea7653733613849012bb
parentea2fdf842365066c82ab941086c6a1741ced4f2a
usb: gadget: USB_RENESAS_USBHS_UDC should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `usbhsg_dma_map_ctrl':
mod_gadget.c:(.text+0x53b226): undefined reference to `usb_gadget_map_request'
mod_gadget.c:(.text+0x53b242): undefined reference to `usb_gadget_unmap_request'

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