]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/shpchp_core.c
PCI Hotplug core: add 'name' param pci_hp_register interface
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / shpchp_core.c
index cc38615395f1087f10a07764fe8d402524a9830b..bf5096612aaba9b33ab055fc9c7d2964b6f23aa6 100644 (file)
@@ -146,7 +146,8 @@ static int init_slots(struct controller *ctrl)
                    slot->hp_slot, slot->number, ctrl->slot_device_offset);
 duplicate_name:
                retval = pci_hp_register(slot->hotplug_slot,
-                               ctrl->pci_dev->subordinate, slot->device);
+                               ctrl->pci_dev->subordinate, slot->device,
+                               hotplug_slot->name);
                if (retval) {
                        /*
                         * If slot N already exists, we'll try to create