powernv/pci: Move pnv_pci_dma_bus_setup() to pci-ioda.c
authorOliver O'Halloran <oohall@gmail.com>
Fri, 10 Jan 2020 07:02:07 +0000 (18:02 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:22 +0000 (21:31 +1100)
commit946743d035bd2cfff059ae79012ab22148caeac2
tree3a6626899bfb99982ccecaea2a9cc22d476fb0dc
parent0a25d9c40161269067c47f6c09a12d76cfe72581
powernv/pci: Move pnv_pci_dma_bus_setup() to pci-ioda.c

This is only used in pci-ioda.c so move it there and rename it to match.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200110070207.439-6-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h