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