projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
784efac
)
fixed call of request_region() with uninitialized dev->iobase
author
David Schleef
<ds@schleef.org>
Mon, 9 Apr 2001 06:19:42 +0000
(06:19 +0000)
committer
David Schleef
<ds@schleef.org>
Mon, 9 Apr 2001 06:19:42 +0000
(06:19 +0000)
comedi/drivers/dt2801.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/dt2801.c
b/comedi/drivers/dt2801.c
index 3b1dcc75c00e41530626fa39c509ffbe4a976e27..11c3670514da6e3b1e1098b82df3ee83af4c107c 100644
(file)
--- 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 */