usb: gadget: USB_FOTG210_UDC should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 11 Jul 2013 13:54:03 +0000 (15:54 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 15 Jul 2013 10:05:28 +0000 (13:05 +0300)
commitbfcbd020396202e7795d78f8d87845e4e225c3b1
tree0d0e301d0dfc293ac2cfa124ea0d04595e65cdac
parent4713aec180b666a78bc658490870b61f6846d8a6
usb: gadget: USB_FOTG210_UDC should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `fotg210_start_dma':
drivers/usb/gadget/fotg210-udc.c:354: undefined reference to `dma_map_single'
drivers/usb/gadget/fotg210-udc.c:357: undefined reference to `dma_mapping_error'
drivers/usb/gadget/fotg210-udc.c:362: undefined reference to `dma_sync_single_for_cpu'
drivers/usb/gadget/fotg210-udc.c:376: undefined reference to `dma_unmap_single'

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