uio: UIO_PRUSS should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 29 Jun 2015 07:12:38 +0000 (09:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:25:59 +0000 (13:25 -0700)
commit686079c9b71a4673d0068ea4538f22359070ee33
tree00ec9d0542c5fbc3aa710aa1d6641efd342b943d
parentd12f569c9b57ecdb18631d0b54c5224da5a1c233
uio: UIO_PRUSS should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "dma_alloc_coherent" [drivers/uio/uio_pruss.ko] undefined!
    ERROR: "dma_free_coherent" [drivers/uio/uio_pruss.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/Kconfig