[PATCH 1/3] dma: Provide simple noop dma ops

Joerg Roedel
2015-11-05T13:31:30Z

On Tue, Nov 03, 2015 at 12:54:37PM +0100, Christian Borntraeger
wrote:
> 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 at de.ibm.com>
> ---
>  include/linux/dma-mapping.h |  2 ++
>  lib/Makefile                |  1 +
>  lib/dma-noop.c              | 75
+++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 78 insertions(+)
>  create mode 100644 lib/dma-noop.c