From bc5590501f2d7a41301465da45757e1850b78f58 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 9 Apr 2001 06:19:42 +0000 Subject: [PATCH] fixed call of request_region() with uninitialized dev->iobase --- comedi/drivers/dt2801.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/dt2801.c b/comedi/drivers/dt2801.c index 3b1dcc75..11c36705 100644 --- a/comedi/drivers/dt2801.c +++ b/comedi/drivers/dt2801.c @@ -481,7 +481,7 @@ static int dt2801_attach(comedi_device *dev,comedi_devconfig *it) comedi_error(dev,"I/O port conflict"); return -EIO; } - request_region(dev->iobase, DT2801_IOSIZE, "dt2801"); + request_region(iobase, DT2801_IOSIZE, "dt2801"); dev->iobase=iobase; /* do some checking */ -- 2.26.2