X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/c2e344475755ddbfa92e79f04b8009e2eafd459e..3c4e084de9ed00171748c20de1251d347fc33c1c:/pci/pci.c?ds=sidebyside diff --git a/pci/pci.c b/pci/pci.c index fbea894..5fd03b4 100644 --- a/pci/pci.c +++ b/pci/pci.c @@ -115,7 +115,7 @@ static int _probefn(pci_dev_t *dev, void *d) 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); }