summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci-common.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2015-03-31 07:00:43 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-11 12:49:11 +0200
commitb122c95494374ab848f8d9f41d98644c2c318ecc (patch)
tree071023b384a0f6aa413110c65f6f4ccb7246a203 /arch/powerpc/kernel/pci-common.c
parentpowerpc: Create pci_controller_ops.dma_dev_setup and shim (diff)
downloadlinux-b122c95494374ab848f8d9f41d98644c2c318ecc.tar.xz
linux-b122c95494374ab848f8d9f41d98644c2c318ecc.zip
powerpc: Create pci_controller_ops.dma_bus_setup and shim
Add pci_controller_ops.dma_bus_setup, shadowing ppc_md.pci_dma_bus_setup. Add a shim, and changes the callsites to use the shim. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r--arch/powerpc/kernel/pci-common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 7e3757e403d4..af357cc38ff6 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -953,8 +953,7 @@ void pcibios_setup_bus_self(struct pci_bus *bus)
ppc_md.pcibios_fixup_bus(bus);
/* Setup bus DMA mappings */
- if (ppc_md.pci_dma_bus_setup)
- ppc_md.pci_dma_bus_setup(bus);
+ pci_dma_bus_setup(bus);
}
static void pcibios_setup_device(struct pci_dev *dev)