]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
powerpc: Create pci_controller_ops.dma_dev_setup and shim
authorDaniel Axtens <dja@axtens.net>
Tue, 31 Mar 2015 05:00:42 +0000 (16:00 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:11 +0000 (20:49 +1000)
commite02def5bce12b472e9eb6dcdd9f7af72239e6330
tree9878fe07343f450446e63976d80a8cb50bc8b4de
parentc88c2a188905cb3077c3c38dc498e7e9f8eebeee
powerpc: Create pci_controller_ops.dma_dev_setup and shim

Introduces the pci_controller_ops structure.
Add pci_controller_ops.dma_dev_setup, shadowing ppc_md.pci_dma_dev_setup.
Add a shim, and change the callsites to use the shim.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci-common.c