diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-01-12 17:55:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-17 22:25:19 (GMT) |
commit | 6d26275177e9fb086273944b3e8fc51db5aff460 (patch) | |
tree | 56ad97828772833babcd5a813a03abc4ea87c973 /drivers/staging/comedi/Kconfig | |
parent | 5bf7d295610a0789dc649e4e45714fecd7d042b4 (diff) | |
download | linux-6d26275177e9fb086273944b3e8fc51db5aff460.tar.xz |
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/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index fe030a3..982b03f 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 |