]> Pileus Git - ~andy/linux/blobdiff - drivers/message/fusion/mptbase.c
MPT / PCI: Use pci_stop_and_remove_bus_device_locked()
[~andy/linux] / drivers / message / fusion / mptbase.c
index 767ff4d839f448168e475ba3e506350977490ac6..570b18a113ffca813d2588dfc02c879e626fae9e 100644 (file)
@@ -346,7 +346,7 @@ static int mpt_remove_dead_ioc_func(void *arg)
        if ((pdev == NULL))
                return -1;
 
-       pci_stop_and_remove_bus_device(pdev);
+       pci_stop_and_remove_bus_device_locked(pdev);
        return 0;
 }