usb: gadget: udc: USB_GADGET_XILINX should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 9 Oct 2014 14:15:05 +0000 (16:15 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 23 Oct 2014 14:55:41 +0000 (09:55 -0500)
commitf1113be1bff674b8410fcb301d6551ab5a43193e
tree0799cf6588e9d26ccb4189de16b4345309787867
parentb01ff5cb2fc99d45e4edc97077b6e17186570a16
usb: gadget: udc: USB_GADGET_XILINX should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `xudc_done':
udc-xilinx.c:(.text+0x54f4d2): undefined reference to `usb_gadget_unmap_request'
drivers/built-in.o: In function `xudc_dma_send':
udc-xilinx.c:(.text+0x54f9f8): undefined reference to `dma_sync_single_for_cpu'
drivers/built-in.o: In function `xudc_read_fifo':
udc-xilinx.c:(.text+0x54ff4a): undefined reference to `dma_sync_single_for_cpu'
drivers/built-in.o: In function `xudc_ep_queue':
udc-xilinx.c:(.text+0x550e7c): undefined reference to `usb_gadget_map_request'

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