]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc: Create pci_controller_ops.reset_secondary_bus and shim
authorDaniel Axtens <dja@axtens.net>
Tue, 31 Mar 2015 05:00:47 +0000 (16:00 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:14 +0000 (20:49 +1000)
commitcd16c7ba0cc21aa1563e4b8430519b6488d0de60
tree53d2f175dba879e96011ea1ae31b99fcc6a0a274
parent542070baf4a0fe9de14cc2c4ca3ff1b43f14f90f
powerpc: Create pci_controller_ops.reset_secondary_bus and shim

Add pci_controller_ops.reset_secondary_bus,
shadowing ppc_md.pcibios_reset_secondary_bus.
Add a shim, and changes the callsites to use the shim.

Use pcibios_reset_secondary_bus_shim, as both
pcibios_reset_secondary_bus and pci_reset_secondary_bus
are already taken.

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