]> git.baikalelectronics.ru Git - 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)
commit2ef1ab9ce99219f4397a3be0c112694fa787b4a9
tree9878fe07343f450446e63976d80a8cb50bc8b4de
parenta4de1e1cdaa98f8487b705ad18983222894c05cb
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