MIPS: PCI: make phys_to_dma/dma_to_phys for pci-xtalk-bridge common
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 24 Oct 2019 10:18:28 +0000 (12:18 +0200)
committerPaul Burton <paulburton@kernel.org>
Fri, 1 Nov 2019 21:58:49 +0000 (14:58 -0700)
commitb9e9defb5e603a8c0822c9e1f457fc823fab5a15
tree654c91acb45b1c19c805e5c69b630008497136be
parent02fce139fd14d3b0126f0a72e8c0a83b5b01f9f5
MIPS: PCI: make phys_to_dma/dma_to_phys for pci-xtalk-bridge common

All platforms using pci-xtalk-bridge can share common phys_to_dma/
dma_to_phys function. So we move it form ip27 specific file to
pci-xtalk-bridge.c

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/pci/pci-ip27.c
arch/mips/pci/pci-xtalk-bridge.c