From df0ce64ac2f381d095e234d1b9baad6f22499770 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 14 Apr 2008 14:58:50 +0000 Subject: [PATCH] Corrected error in previous commit (PCI bus/slot option support). --- comedi/drivers/dt3000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.26.2