aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index dbfdac63cb49..21fa13e84470 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -972,8 +972,8 @@ static int enable_device(struct acpiphp_slot *slot)
972 acpiphp_sanitize_bus(bus); 972 acpiphp_sanitize_bus(bus);
973 pci_enable_bridges(bus); 973 pci_enable_bridges(bus);
974 pci_bus_add_devices(bus); 974 pci_bus_add_devices(bus);
975 acpiphp_set_hpp_values(DEVICE_ACPI_HANDLE(&bus->self->dev), bus); 975 acpiphp_set_hpp_values(slot->bridge->handle, bus);
976 acpiphp_configure_ioapics(DEVICE_ACPI_HANDLE(&bus->self->dev)); 976 acpiphp_configure_ioapics(slot->bridge->handle);
977 977
978 /* associate pci_dev to our representation */ 978 /* associate pci_dev to our representation */
979 list_for_each (l, &slot->funcs) { 979 list_for_each (l, &slot->funcs) {