diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-01-12 10:55:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-17 14:25:20 -0800 |
commit | 7a37b7a7556fe6b4108ad7cea25a484b87d11ee9 (patch) | |
tree | 883fea3c8c07a484f0f42a6149d0d1b007f14837 /drivers/staging/comedi/Kconfig | |
parent | b8e7048bab32b6571dd4930f9a94622556a01ad4 (diff) | |
download | op-kernel-dev-7a37b7a7556fe6b4108ad7cea25a484b87d11ee9.zip op-kernel-dev-7a37b7a7556fe6b4108ad7cea25a484b87d11ee9.tar.gz |
staging: comedi: pcl818: 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 76d66e0..c48ee22 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig @@ -188,7 +188,7 @@ config COMEDI_PCL816 config COMEDI_PCL818 tristate "Advantech PCL-718 and PCL-818 ISA card support" - depends on VIRT_TO_BUS && ISA_DMA_API + depends on ISA_DMA_API ---help--- Enable support for Advantech PCL-818 ISA cards PCL-818L, PCL-818H, PCL-818HD, PCL-818HG, PCL-818 and PCL-718 |