From b8c794db5c0b992595a4e140e4e62c2264d92b1d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 21 Jul 2000 22:38:55 +0000 Subject: [PATCH] iobase fix --- comedi/drivers/pcl812.c | 2 +- comedi/drivers/pcl818.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.26.2