diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-09-17 12:37:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 17:30:39 -0700 |
commit | 2c740336159d9785ae81e8f9d6ba1a6b922723c9 (patch) | |
tree | 6c4f6b45c5d8f5c2364297242d7f950c02b27cac /drivers/usb | |
parent | e7ef5265b158ac1975b1556511e2b11bad5f5522 (diff) | |
download | blackbird-op-linux-2c740336159d9785ae81e8f9d6ba1a6b922723c9.tar.gz blackbird-op-linux-2c740336159d9785ae81e8f9d6ba1a6b922723c9.zip |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig index 4a851e15e58c..77b47d82c9a6 100644 --- a/drivers/usb/chipidea/Kconfig +++ b/drivers/usb/chipidea/Kconfig @@ -1,6 +1,6 @@ config USB_CHIPIDEA tristate "ChipIdea Highspeed Dual Role Controller" - depends on (USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET) + depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA help Say Y here if your system has a dual role high speed USB controller based on ChipIdea silicon IP. Currently, only the |