arm64: Combine coherent and non-coherent swiotlb dma_ops
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 12 Jan 2015 20:48:53 +0000 (20:48 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 23 Jan 2015 16:43:55 +0000 (16:43 +0000)
commit9d3bfbb4df58a8025b46b2676da2cf450385b754
tree432bc59dd87567bdf67f269a2dc31d9d550aed8c
parent9f71ac961be8d44ad9d7742a5d1129577514660d
arm64: Combine coherent and non-coherent swiotlb dma_ops

Since dev_archdata now has a dma_coherent state, combine the two
coherent and non-coherent operations and remove their declaration,
together with set_dma_ops, from the arch dma-mapping.h file.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c