projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be3838
)
fixed bug in attach function
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 28 Jan 2001 19:20:12 +0000
(19:20 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 28 Jan 2001 19:20:12 +0000
(19:20 +0000)
comedi/drivers/dt2811.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/dt2811.c
b/comedi/drivers/dt2811.c
index 1b0d9635dd1c10ee3cc2039f52d2a3206e74d24d..1b5f8fbe2c841d91ee8c42366ed22be4f009a0a0 100644
(file)
--- a/
comedi/drivers/dt2811.c
+++ b/
comedi/drivers/dt2811.c
@@
-288,6
+288,8
@@
static int dt2811_attach(comedi_device * dev, comedi_devconfig * it)
return -EIO;
}
request_region(dev->iobase, DT2811_SIZE, driver_name);
+
+ board = dev->board;
if (board == card_2811_pgh) {
dev->board_name = "dt2811-pgh";
} else if (board == card_2811_pgl) {