Fixed argument of pci_enable_dev()
authorDavid Schleef <ds@schleef.org>
Thu, 13 Sep 2001 00:47:11 +0000 (00:47 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 13 Sep 2001 00:47:11 +0000 (00:47 +0000)
comedi/drivers/rtd520.c

index bcfd8ff1908a9e7d1827a500a6eab0ad4dff0378..28f0c1c5993a7a4c90b3718d40db9f9cf6b42fdc 100644 (file)
@@ -621,7 +621,7 @@ static int rtd_attach (
      */
     dev->board_name = thisboard->name;
 
-    if((ret=pci_enable_device(dev))<0){
+    if((ret=pci_enable_device(pcidev))<0){
        return ret;
     }