summaryrefslogtreecommitdiffstats
path: root/drivers/char/vc_screen.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-25 01:20:01 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-25 01:20:01 +0000
commit3797ba0b62debb71af4606910acacc9896a9ae3b (patch)
tree414eea76253c7871bfdf3bd9d1817771eb40917c /drivers/char/vc_screen.c
parent2b6c0c580795a4404f72d2a794214dd9e080709d (diff)
Merge with Linux 2.4.0-test2.
Diffstat (limited to 'drivers/char/vc_screen.c')
-rw-r--r--drivers/char/vc_screen.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/char/vc_screen.c b/drivers/char/vc_screen.c
index 5138c76b8..67ff8d856 100644
--- a/drivers/char/vc_screen.c
+++ b/drivers/char/vc_screen.c
@@ -476,12 +476,12 @@ void vcs_make_devfs (unsigned int index, int unregister)
}
else
{
- devfs_register (devfs_handle, name + 1, 0, DEVFS_FL_DEFAULT,
+ devfs_register (devfs_handle, name + 1, DEVFS_FL_DEFAULT,
VCS_MAJOR, index + 1,
- S_IFCHR | S_IRUSR | S_IWUSR, 0, 0, &vcs_fops, NULL);
- devfs_register (devfs_handle, name, 0, DEVFS_FL_DEFAULT,
+ S_IFCHR | S_IRUSR | S_IWUSR, &vcs_fops, NULL);
+ devfs_register (devfs_handle, name, DEVFS_FL_DEFAULT,
VCS_MAJOR, index + 129,
- S_IFCHR | S_IRUSR | S_IWUSR, 0, 0, &vcs_fops, NULL);
+ S_IFCHR | S_IRUSR | S_IWUSR, &vcs_fops, NULL);
}
#endif /* CONFIG_DEVFS_FS */
}
@@ -496,12 +496,12 @@ int __init vcs_init(void)
printk("unable to get major %d for vcs device", VCS_MAJOR);
devfs_handle = devfs_mk_dir (NULL, "vcc", 3, NULL);
- devfs_register (devfs_handle, "0", 1, DEVFS_FL_DEFAULT,
+ devfs_register (devfs_handle, "0", DEVFS_FL_DEFAULT,
VCS_MAJOR, 0,
- S_IFCHR | S_IRUSR | S_IWUSR, 0, 0, &vcs_fops, NULL);
- devfs_register (devfs_handle, "a", 1, DEVFS_FL_DEFAULT,
+ S_IFCHR | S_IRUSR | S_IWUSR, &vcs_fops, NULL);
+ devfs_register (devfs_handle, "a", DEVFS_FL_DEFAULT,
VCS_MAJOR, 128,
- S_IFCHR | S_IRUSR | S_IWUSR, 0, 0, &vcs_fops, NULL);
+ S_IFCHR | S_IRUSR | S_IWUSR, &vcs_fops, NULL);
return error;
}