From: David Schleef Date: Thu, 13 Sep 2001 00:47:11 +0000 (+0000) Subject: Fixed argument of pci_enable_dev() X-Git-Tag: r0_7_61~98 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=57826302830091dec7c647c584ad2e9c4bc6066a;p=comedi.git Fixed argument of pci_enable_dev() --- 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; }