From: David Schleef Date: Fri, 21 Jul 2000 22:38:55 +0000 (+0000) Subject: iobase fix X-Git-Tag: r0_7_47~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8c794db5c0b992595a4e140e4e62c2264d92b1d;p=comedi.git iobase fix --- diff --git a/comedi/drivers/pcl812.c b/comedi/drivers/pcl812.c index 6d7abdc6..12b88bfb 100644 --- a/comedi/drivers/pcl812.c +++ b/comedi/drivers/pcl812.c @@ -615,7 +615,7 @@ static int pcl812_attach(comedi_device * dev, comedi_devconfig * it) printk("I/O port conflict\n"); return -EIO; } - request_region(dev->iobase, boardtypes[board].io_range, "pcl812"); + request_region(iobase, boardtypes[board].io_range, "pcl812"); dev->iobase = iobase; dev->iosize = boardtypes[board].io_range; diff --git a/comedi/drivers/pcl818.c b/comedi/drivers/pcl818.c index 905b502b..b94bb49e 100644 --- a/comedi/drivers/pcl818.c +++ b/comedi/drivers/pcl818.c @@ -1343,7 +1343,7 @@ static int pcl818_attach(comedi_device * dev, comedi_devconfig * it) return -EIO; } - request_region(dev->iobase, io_range, "pcl818"); + request_region(iobase, io_range, "pcl818"); dev->iobase=iobase; dev->iosize=io_range;