From: David Schleef Date: Tue, 3 Apr 2001 09:23:38 +0000 (+0000) Subject: Fixed request_region() being called with uninitialized value. X-Git-Tag: r0_7_58~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f241a209dec3e7db1189585c146f142b94a6d1b;p=comedi.git Fixed request_region() being called with uninitialized value. --- 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