ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Sep 2020 06:37:11 +0000 (08:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Sep 2020 16:43:24 +0000 (18:43 +0200)
commit3799e402a4f0d69690e0838c4a68cab26d06283a
treed2eae71e38fa91c370d119337ae2549e50d2466f
parent002a26fb55282f7832e132d046d22e2c55f47103
ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h

Move the helpers to translate to and from direct mapping DMA addresses
to dma-direct.h.  This not only is the most logical place, but the new
placement also avoids dependency loops with pending commits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-direct.h
arch/arm/include/asm/dma-mapping.h