projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb4f65
)
Fixed minor numbers for subdevice files.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 9 Dec 2008 14:47:22 +0000
(14:47 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 9 Dec 2008 14:47:22 +0000
(14:47 +0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 9d27a615cafec786d3ae060251f96b4b59348ba8..c284d9d366b49fbe8b5507244f222cf6b82f7e3e 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-2190,7
+2190,7
@@
int comedi_alloc_subdevice_minor(comedi_device *dev, comedi_subdevice *s)
info->read_subdevice = s;
info->write_subdevice = s;
comedi_spin_lock_irqsave(&comedi_file_info_table_lock, flags);
- for(i = COMEDI_FIRST_SUBDEVICE_MINOR; i < COMEDI_NUM_
BOARD_
MINORS; ++i)
+ for(i = COMEDI_FIRST_SUBDEVICE_MINOR; i < COMEDI_NUM_MINORS; ++i)
{
if(comedi_file_info_table[i] == NULL)
{