summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/Kconfig
diff options
context:
space:
mode:
authorH Hartley Sweeten2015-01-12 18:55:51 +0100
committerGreg Kroah-Hartman2015-01-17 23:25:19 +0100
commit6d26275177e9fb086273944b3e8fc51db5aff460 (patch)
tree56ad97828772833babcd5a813a03abc4ea87c973 /drivers/staging/comedi/Kconfig
parentstaging: comedi: ni_at_a2150: introduce struct a2150_dma_desc (diff)
downloadkernel-qcow2-linux-6d26275177e9fb086273944b3e8fc51db5aff460.tar.gz
kernel-qcow2-linux-6d26275177e9fb086273944b3e8fc51db5aff460.tar.xz
kernel-qcow2-linux-6d26275177e9fb086273944b3e8fc51db5aff460.zip
staging: comedi: ni_at_a2150: remove VIRT_TO_BUS dependancy
Use dma_{alloc,free}_coherent() to allocate and free the DMA buffers. This removes the dependancy on VIRT_TO_BUS. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r--drivers/staging/comedi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index fe030a33d291..982b03f79b36 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -462,7 +462,7 @@ config COMEDI_ADQ12B
config COMEDI_NI_AT_A2150
tristate "NI AT-A2150 ISA card support"
- depends on VIRT_TO_BUS && ISA_DMA_API
+ depends on ISA_DMA_API
---help---
Enable support for National Instruments AT-A2150 cards