patch-2.4.0-test2 linux/drivers/macintosh/adb.c

Next file: linux/drivers/macintosh/mac_keyb.c
Previous file: linux/drivers/isdn/isdn_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/macintosh/adb.c linux/drivers/macintosh/adb.c
@@ -674,8 +674,8 @@
 	if (devfs_register_chrdev(ADB_MAJOR, "adb", &adb_fops))
 		printk(KERN_ERR "adb: unable to get major %d\n", ADB_MAJOR);
 	else
-		devfs_register (NULL, "adb", 0, DEVFS_FL_NONE,
+		devfs_register (NULL, "adb", DEVFS_FL_DEFAULT,
 				ADB_MAJOR, 0,
-				S_IFCHR | S_IRUSR | S_IWUSR, 0, 0,
+				S_IFCHR | S_IRUSR | S_IWUSR,
 				&adb_fops, NULL);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)