]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/fakephp.c
PCI: Hotplug: fakephp: Return success, not ENODEV, when bus rescan is triggered
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / fakephp.c
index 94b640146d4456b4aa0b96b1022f7efcfadbd256..e0bbf21928c3219891d98ba7524531fb6527a312 100644 (file)
@@ -293,7 +293,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot)
        /* mis-use enable_slot for rescanning of the pci bus */
        cancel_work_sync(&pci_rescan_work);
        queue_work(dummyphp_wq, &pci_rescan_work);
-       return -ENODEV;
+       return 0;
 }
 
 /* find the hotplug_slot for the pci_dev */