diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/pci.c')
| -rw-r--r-- | arch/powerpc/platforms/pseries/pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/pci.c b/arch/powerpc/platforms/pseries/pci.c index fe16a50700de..09eba5a9929a 100644 --- a/arch/powerpc/platforms/pseries/pci.c +++ b/arch/powerpc/platforms/pseries/pci.c | |||
| @@ -119,6 +119,10 @@ int pseries_root_bridge_prepare(struct pci_host_bridge *bridge) | |||
| 119 | 119 | ||
| 120 | bus = bridge->bus; | 120 | bus = bridge->bus; |
| 121 | 121 | ||
| 122 | /* Rely on the pcibios_free_controller_deferred() callback. */ | ||
| 123 | pci_set_host_bridge_release(bridge, pcibios_free_controller_deferred, | ||
| 124 | (void *) pci_bus_to_host(bus)); | ||
| 125 | |||
| 122 | dn = pcibios_get_phb_of_node(bus); | 126 | dn = pcibios_get_phb_of_node(bus); |
| 123 | if (!dn) | 127 | if (!dn) |
| 124 | return 0; | 128 | return 0; |
