mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Hans J. Koch <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
a4162747b7
commit
89fb9e7c34
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ config UIO_PDRV_GENIRQ
|
|||
|
||||
config UIO_DMEM_GENIRQ
|
||||
tristate "Userspace platform driver with generic irq and dynamic memory"
|
||||
depends on HAS_DMA
|
||||
help
|
||||
Platform driver for Userspace I/O devices, including generic
|
||||
interrupt handling code. Shared interrupts are not supported.
|
||||
|
|
|
|||
Loading…
Reference in a new issue