]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/acpiphp_core.c
PCI Hotplug core: add 'name' param pci_hp_register interface
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / acpiphp_core.c
index 0e496e866a84dc51480d4cb3194e1ea6b62023c8..e9841765339f22775341e9434d24d569ae178ec5 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) {