diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-02-16 16:10:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-20 20:22:55 -0800 |
commit | 58f2266f4019b9d023979de31950d34cce23b43c (patch) | |
tree | 0eb8d890ab2985385f5eba7ea21759b54b043503 /drivers/mmc/host/omap_hsmmc.c | |
parent | ef976ea33b4c44d6cd14ee63cb237c6bab40f91b (diff) | |
download | blackbird-op-linux-58f2266f4019b9d023979de31950d34cce23b43c.tar.gz blackbird-op-linux-58f2266f4019b9d023979de31950d34cce23b43c.zip |
usb: core: Allow compilation on platforms where NO_DMA=y
Some platforms don't have DMA, but we should still be able to build USB
drivers for these platforms. They could still be used through vhci_hcd,
usbip_host, or maybe something like USB passthrough in UML from a
capable host.
If NO_DMA=y:
ERROR: "dma_pool_destroy" [drivers/usb/core/usbcore.ko] undefined!
ERROR: "bad_dma_ops" [drivers/usb/core/usbcore.ko] undefined!
ERROR: "dma_pool_free" [drivers/usb/core/usbcore.ko] undefined!
ERROR: "dma_pool_alloc" [drivers/usb/core/usbcore.ko] undefined!
ERROR: "dma_pool_create" [drivers/usb/core/usbcore.ko] undefined!
Add a few checks for CONFIG_HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mmc/host/omap_hsmmc.c')
0 files changed, 0 insertions, 0 deletions