PCI Hotplug core: add 'name' param pci_hp_register interface
[safe/jmp/linux-2.6] / drivers / pci / hotplug / acpiphp_core.c
index 0e496e8..e984176 100644 (file)
@@ -340,7 +340,8 @@ int acpiphp_register_hotplug_slot(struct acpiphp_slot *acpiphp_slot)
 
        retval = pci_hp_register(slot->hotplug_slot,
                                        acpiphp_slot->bridge->pci_bus,
-                                       acpiphp_slot->device);
+                                       acpiphp_slot->device,
+                                       slot->name);
        if (retval == -EBUSY)
                goto error_hpslot;
        if (retval) {