uio: UIO_DMEM_GENIRQ should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 9 May 2013 21:04:51 +0000 (23:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:13:23 +0000 (10:13 -0700)
commit89fb9e7c3423662f4969a1e8ef0f5d44835d2381
tree3e0fe8e40214b285621cc409ab8e1b6ce1ae0d0d
parenta4162747b79683b163d54cfd9c9319d9a8bad111
uio: UIO_DMEM_GENIRQ should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `uio_dmem_genirq_release':
drivers/uio/uio_dmem_genirq.c:95: undefined reference to `dma_free_coherent'
drivers/built-in.o: In function `uio_dmem_genirq_open':
drivers/uio/uio_dmem_genirq.c:61: undefined reference to `dma_alloc_coherent'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hans J. Koch <hjk@hansjkoch.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/Kconfig