aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r--drivers/pci/hotplug/pci_hotplug_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
index 02b1ae12a2e6..1cdeb642fdcf 100644
--- a/drivers/pci/hotplug/pci_hotplug_core.c
+++ b/drivers/pci/hotplug/pci_hotplug_core.c
@@ -579,7 +579,7 @@ int pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int slot_nr,
579 * driver and call it here again. If we've already created the 579 * driver and call it here again. If we've already created the
580 * pci_slot, the interface will simply bump the refcount. 580 * pci_slot, the interface will simply bump the refcount.
581 */ 581 */
582 pci_slot = pci_create_slot(bus, slot_nr, name); 582 pci_slot = pci_create_slot(bus, slot_nr, name, slot);
583 if (IS_ERR(pci_slot)) 583 if (IS_ERR(pci_slot))
584 return PTR_ERR(pci_slot); 584 return PTR_ERR(pci_slot);
585 585