aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-06-29 03:12:38 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 16:25:59 -0400
commit686079c9b71a4673d0068ea4538f22359070ee33 (patch)
tree00ec9d0542c5fbc3aa710aa1d6641efd342b943d
parentd12f569c9b57ecdb18631d0b54c5224da5a1c233 (diff)
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>
-rw-r--r--drivers/uio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index 48fb1d983f6c..52c98ce1b6fe 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -127,7 +127,7 @@ config UIO_FSL_ELBC_GPCM_NETX5152
127config UIO_PRUSS 127config UIO_PRUSS
128 tristate "Texas Instruments PRUSS driver" 128 tristate "Texas Instruments PRUSS driver"
129 select GENERIC_ALLOCATOR 129 select GENERIC_ALLOCATOR
130 depends on HAS_IOMEM 130 depends on HAS_IOMEM && HAS_DMA
131 help 131 help
132 PRUSS driver for OMAPL138/DA850/AM18XX devices 132 PRUSS driver for OMAPL138/DA850/AM18XX devices
133 PRUSS driver requires user space components, examples and user space 133 PRUSS driver requires user space components, examples and user space