powerpc/dma: move pci_dma_dev_setup_swiotlb to fsl_pci.c
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:19 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:03 +0000 (22:41 +1100)
commit391133fd5adaba319795cd96882d1ea405c41cf6
tree6ae53a126e71ecf6491f3a8b82960db47e38e9fe
parent7c1013b48778e203d4b17ea49ef0e450dd921664
powerpc/dma: move pci_dma_dev_setup_swiotlb to fsl_pci.c

pci_dma_dev_setup_swiotlb is only used by the fsl_pci code, and closely
related to it, so fsl_pci.c seems like a better place for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/swiotlb.h
arch/powerpc/kernel/dma-swiotlb.c
arch/powerpc/sysdev/fsl_pci.c