diff options
Diffstat (limited to 'drivers/pci/hotplug/fakephp.c')
-rw-r--r-- | drivers/pci/hotplug/fakephp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/fakephp.c b/drivers/pci/hotplug/fakephp.c index b57223f7e830..40337a06c18a 100644 --- a/drivers/pci/hotplug/fakephp.c +++ b/drivers/pci/hotplug/fakephp.c | |||
@@ -126,7 +126,7 @@ static int add_slot(struct pci_dev *dev) | |||
126 | slot->release = &dummy_release; | 126 | slot->release = &dummy_release; |
127 | slot->private = dslot; | 127 | slot->private = dslot; |
128 | 128 | ||
129 | retval = pci_hp_register(slot); | 129 | retval = pci_hp_register(slot, dev->bus, PCI_SLOT(dev->devfn)); |
130 | if (retval) { | 130 | if (retval) { |
131 | err("pci_hp_register failed with error %d\n", retval); | 131 | err("pci_hp_register failed with error %d\n", retval); |
132 | goto error_dslot; | 132 | goto error_dslot; |