From 1f241a209dec3e7db1189585c146f142b94a6d1b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 3 Apr 2001 09:23:38 +0000 Subject: [PATCH] Fixed request_region() being called with uninitialized value. --- comedi/drivers/rti800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/rti800.c b/comedi/drivers/rti800.c index c9d980c8..48277d09 100644 --- a/comedi/drivers/rti800.c +++ b/comedi/drivers/rti800.c @@ -295,7 +295,7 @@ static int rti800_attach(comedi_device * dev, comedi_devconfig * it) printk("I/O port conflict\n"); return -EIO; } - request_region(dev->iobase, RTI800_SIZE, "rti800"); + request_region(iobase, RTI800_SIZE, "rti800"); dev->iobase = iobase; #ifdef DEBUG -- 2.26.2