diff options
Diffstat (limited to 'drivers/pci')
-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 94b640146d44..e0bbf21928c3 100644 --- a/drivers/pci/hotplug/fakephp.c +++ b/drivers/pci/hotplug/fakephp.c | |||
@@ -293,7 +293,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot) | |||
293 | /* mis-use enable_slot for rescanning of the pci bus */ | 293 | /* mis-use enable_slot for rescanning of the pci bus */ |
294 | cancel_work_sync(&pci_rescan_work); | 294 | cancel_work_sync(&pci_rescan_work); |
295 | queue_work(dummyphp_wq, &pci_rescan_work); | 295 | queue_work(dummyphp_wq, &pci_rescan_work); |
296 | return -ENODEV; | 296 | return 0; |
297 | } | 297 | } |
298 | 298 | ||
299 | /* find the hotplug_slot for the pci_dev */ | 299 | /* find the hotplug_slot for the pci_dev */ |