]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/pci_hotplug_core.c
PCI: update pci_create_slot() to take a 'hotplug' param
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / pci_hotplug_core.c
index 02b1ae12a2e6df4ef0222b5bdfd22d8b131c5daf..1cdeb642fdcfc7d49c826230d2876829f956aa1b 100644 (file)
@@ -579,7 +579,7 @@ int pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int slot_nr,
         * driver and call it here again. If we've already created the
         * pci_slot, the interface will simply bump the refcount.
         */
-       pci_slot = pci_create_slot(bus, slot_nr, name);
+       pci_slot = pci_create_slot(bus, slot_nr, name, slot);
        if (IS_ERR(pci_slot))
                return PTR_ERR(pci_slot);