From f02c6b0d17dd5e276a53576b010ce13e0e9f6a23 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 24 May 2000 21:43:07 +0000 Subject: [PATCH] dev->minor fix, a minor bugfix --- comedi/comedi_fops.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 6cc194d6..9fd2e3d8 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -1388,6 +1388,8 @@ void init_drivers(void); int init_module(void) { + int i; + printk("comedi: version " COMEDI_VERSION " - David Schleef \n"); if(register_chrdev(COMEDI_MAJOR,"comedi",&comedi_fops)){ printk("comedi: unable to get major %d\n",COMEDI_MAJOR); @@ -1397,6 +1399,9 @@ int init_module(void) if(!comedi_devices) return -ENOMEM; memset(comedi_devices,0,sizeof(comedi_device)*COMEDI_NDEVICES); + for(i=0;i