diff options
author | H Hartley Sweeten | 2015-01-12 18:56:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-01-17 23:25:21 +0100 |
commit | a2c3966d18a93540f49c2c8cc3dda5ce6c9399a7 (patch) | |
tree | 18b59cd3800adbce003db09cc08a95651a97c6d8 /drivers/staging/comedi/Kconfig | |
parent | staging: comedi: pcl816: introduce struct pcl816_dma_desc (diff) | |
download | kernel-qcow2-linux-a2c3966d18a93540f49c2c8cc3dda5ce6c9399a7.tar.gz kernel-qcow2-linux-a2c3966d18a93540f49c2c8cc3dda5ce6c9399a7.tar.xz kernel-qcow2-linux-a2c3966d18a93540f49c2c8cc3dda5ce6c9399a7.zip |
staging: comedi: pcl816: 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 c48ee226724b..59c17e60b0be 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig @@ -179,7 +179,7 @@ config COMEDI_PCL812 config COMEDI_PCL816 tristate "Advantech PCL-814 and PCL-816 ISA card support" - depends on VIRT_TO_BUS && ISA_DMA_API + depends on ISA_DMA_API ---help--- Enable support for Advantech PCL-814 and PCL-816 ISA cards |