From: Ian Abbott Date: Mon, 14 Apr 2008 14:58:50 +0000 (+0000) Subject: Corrected error in previous commit (PCI bus/slot option support). X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=df0ce64ac2f381d095e234d1b9baad6f22499770;p=comedi.git Corrected error in previous commit (PCI bus/slot option support). --- diff --git a/comedi/drivers/dt3000.c b/comedi/drivers/dt3000.c index 7c403e45..ef131cc9 100644 --- a/comedi/drivers/dt3000.c +++ b/comedi/drivers/dt3000.c @@ -919,7 +919,7 @@ static int dt_pci_probe(comedi_device * dev, int bus, int slot) while ((pcidev = dt_pci_find_device(pcidev, &board)) != NULL) { if ((bus == 0 && slot == 0) || (pcidev->bus->number == bus && - PCI_SLOT(pcidev->devfn == slot))) { + PCI_SLOT(pcidev->devfn) == slot)) { break; } }