Make default mode for /dev/comediN 666 in devfs.
authorDavid Schleef <ds@schleef.org>
Wed, 29 May 2002 20:11:58 +0000 (20:11 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 29 May 2002 20:11:58 +0000 (20:11 +0000)
comedi/comedi_fops.c

index 5d6912600644faf53243a90bb8913d756d73c8e7..bea2cd2f09f41cc28426a7e921bad8be9d47a210 100644 (file)
@@ -1758,7 +1758,7 @@ static int __init comedi_init(void)
                char name[20];
                sprintf(name, "comedi%d", i);
                devfs_register(NULL, name, DEVFS_FL_DEFAULT,
-                       COMEDI_MAJOR, i, 0660 | S_IFCHR, &comedi_fops, NULL);
+                       COMEDI_MAJOR, i, 0666 | S_IFCHR, &comedi_fops, NULL);
        }
        
        comedi_rt_init();