]> git.baikalelectronics.ru Git - kernel.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)
commit9b0ed64673c46c1c3f474f36476670c11a3ac46f
tree53d2f175dba879e96011ea1ae31b99fcc6a0a274
parentd39c390f9e335d48260b673386a58c02f07b2cfb
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