From 57826302830091dec7c647c584ad2e9c4bc6066a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 13 Sep 2001 00:47:11 +0000 Subject: [PATCH] Fixed argument of pci_enable_dev() --- comedi/drivers/rtd520.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/rtd520.c b/comedi/drivers/rtd520.c index bcfd8ff1..28f0c1c5 100644 --- a/comedi/drivers/rtd520.c +++ b/comedi/drivers/rtd520.c @@ -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; } -- 2.26.2