projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4618505
)
Change a 4 to a COMEDI_NDEVICES. Prolong the static allocation
author
David Schleef
<ds@schleef.org>
Wed, 25 Sep 2002 01:33:40 +0000
(
01:33
+0000)
committer
David Schleef
<ds@schleef.org>
Wed, 25 Sep 2002 01:33:40 +0000
(
01:33
+0000)
dumbness.
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 69eface2bcee9d054350fd03564b4538acacd357..ba66ae523bcde894d95d1e96f5c8ca9dc171fa6c 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-1701,7
+1701,7
@@
static int __init comedi_init(void)
/* XXX requires /proc interface */
comedi_proc_init();
- for(i=0;i<
4
;i++){
+ for(i=0;i<
COMEDI_NDEVICES
;i++){
char name[20];
sprintf(name, "comedi%d", i);
devfs_register(NULL, name, DEVFS_FL_DEFAULT,