PCI: Change the type of probe argument in reset functions
[linux-2.6-microblaze.git] / drivers / net / ethernet / cavium / liquidio / lio_vf_main.c
index d185df5..ac821c5 100644 (file)
@@ -526,7 +526,7 @@ static void octeon_destroy_resources(struct octeon_device *oct)
                        oct->irq_name_storage = NULL;
                }
                /* Soft reset the octeon device before exiting */
-               if (!pcie_reset_flr(oct->pci_dev, 1))
+               if (!pcie_reset_flr(oct->pci_dev, PCI_RESET_PROBE))
                        octeon_pci_flr(oct);
                else
                        cn23xx_vf_ask_pf_to_do_flr(oct);