diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-13 08:01:19 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-18 22:41:03 +1100 |
commit | 391133fd5adaba319795cd96882d1ea405c41cf6 (patch) | |
tree | 6ae53a126e71ecf6491f3a8b82960db47e38e9fe /arch/powerpc/include | |
parent | 7c1013b48778e203d4b17ea49ef0e450dd921664 (diff) | |
download | linux-391133fd5adaba319795cd96882d1ea405c41cf6.tar.gz linux-391133fd5adaba319795cd96882d1ea405c41cf6.tar.bz2 linux-391133fd5adaba319795cd96882d1ea405c41cf6.zip |
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/swiotlb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/swiotlb.h b/arch/powerpc/include/asm/swiotlb.h index f65ecf57b66c..26a0f12b835b 100644 --- a/arch/powerpc/include/asm/swiotlb.h +++ b/arch/powerpc/include/asm/swiotlb.h @@ -18,8 +18,6 @@ extern const struct dma_map_ops powerpc_swiotlb_dma_ops; extern unsigned int ppc_swiotlb_enable; int __init swiotlb_setup_bus_notifier(void); -extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev); - #ifdef CONFIG_SWIOTLB void swiotlb_detect_4g(void); #else |