]> Joshua Wise's Git repositories - netwatch.git/blobdiff - pci/pci.c
Don't necessarily wait for data.
[netwatch.git] / pci / pci.c
index fbea894365e2de1a30f3a5bf1b0164a0c2240b0e..5fd03b414dbf4ea2e69fc560718c6df597552a4a 100644 (file)
--- a/pci/pci.c
+++ b/pci/pci.c
@@ -115,7 +115,7 @@ static int _probefn(pci_dev_t *dev, void *d)
        return 0;
 }
 
        return 0;
 }
 
-int pci_probe_driver(pci_driver_t driver)
+int pci_probe_driver(pci_driver_t *driver)
 {
 {
-       return pci_probe(_probefn, &driver);
+       return pci_probe(_probefn, driver);
 }
 }
This page took 0.020633 seconds and 4 git commands to generate.