dma: Provide simple noop dma ops
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 3 Feb 2016 05:46:32 +0000 (21:46 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Mar 2016 15:01:55 +0000 (17:01 +0200)
commita8463d4b0e47d1f37af684d97884ffcf35de043b
tree22edc03944c201629c6fd2c77805b014c05f9fbc
parente1f33be9186363da7955bcb5f0b03e6685544c50
dma: Provide simple noop dma ops

We are going to require dma_ops for several common drivers, even for
systems that do have an identity mapping. Lets provide some minimal
no-op dma_ops that can be used for that purpose.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/dma-mapping.h
lib/Makefile
lib/dma-noop.c [new file with mode: 0644]