usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 17 Sep 2013 04:37:25 +0000 (12:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:30:39 +0000 (17:30 -0700)
commit2c740336159d9785ae81e8f9d6ba1a6b922723c9
tree6c4f6b45c5d8f5c2364297242d7f950c02b27cac
parente7ef5265b158ac1975b1556511e2b11bad5f5522
usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `dma_set_coherent_mask':
include/linux/dma-mapping.h:93: undefined reference to `dma_supported'

Reviewed-and-tested-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/Kconfig