ARM/dma-mapping: mark various dma-mapping routines static in dma-mapping.c
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Apr 2022 07:40:17 +0000 (09:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 16:18:56 +0000 (18:18 +0200)
commit5ed390e5a9d4d84f220e012ee20ae97fc254a9d9
tree7f8c8b2552e7edecf6a8cdafa50ee4c5aee4e275
parente3217540c2710f42a2388fe7896f0f28695c00b2
ARM/dma-mapping: mark various dma-mapping routines static in dma-mapping.c

With the dmabounce removal these aren't used outside of dma-mapping.c,
so mark them static.  Move the dma_map_ops declarations down a bit
to avoid lots of forward declarations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Marc Zyngier <maz@kernel.org>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c