ARM/dma-mapping: merge __dma_supported into arm_dma_supported
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Feb 2020 11:48:59 +0000 (12:48 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 20 Mar 2020 10:43:21 +0000 (11:43 +0100)
commitfd27a526bb381f43dded6db30b3b016468ab0e6c
tree8b2bba73836b7c6f1c9ae53dff6e3bae18042d23
parent7607cb733fbb6dfac88c4a85c113e8104c91733e
ARM/dma-mapping: merge __dma_supported into arm_dma_supported

Merge __dma_supported into its only caller, and move the resulting
function so that it doesn't need a forward declaration.  Also mark
it static as there are no callers outside of dma-mapping.c.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm/include/asm/dma-iommu.h
arch/arm/mm/dma-mapping.c