aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pty.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:09 -0400
commitf4eaa37017a5a68f67ef86729508022c13fb8e6d (patch)
tree7a2b03b575d77922c1e0bf1da7b74e87451462c6 /drivers/char/pty.c
parent264f48646e6829b4d00a0e058452578318e6fb15 (diff)
[PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed
Also fixes all drivers that set this field. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/pty.c')
-rw-r--r--drivers/char/pty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/pty.c b/drivers/char/pty.c
index 345f8b8d57c2..d3a5092402c2 100644
--- a/drivers/char/pty.c
+++ b/drivers/char/pty.c
@@ -264,7 +264,6 @@ static void __init legacy_pty_init(void)
264 pty_driver->owner = THIS_MODULE; 264 pty_driver->owner = THIS_MODULE;
265 pty_driver->driver_name = "pty_master"; 265 pty_driver->driver_name = "pty_master";
266 pty_driver->name = "pty"; 266 pty_driver->name = "pty";
267 pty_driver->devfs_name = "pty/m";
268 pty_driver->major = PTY_MASTER_MAJOR; 267 pty_driver->major = PTY_MASTER_MAJOR;
269 pty_driver->minor_start = 0; 268 pty_driver->minor_start = 0;
270 pty_driver->type = TTY_DRIVER_TYPE_PTY; 269 pty_driver->type = TTY_DRIVER_TYPE_PTY;
@@ -282,7 +281,6 @@ static void __init legacy_pty_init(void)
282 pty_slave_driver->owner = THIS_MODULE; 281 pty_slave_driver->owner = THIS_MODULE;
283 pty_slave_driver->driver_name = "pty_slave"; 282 pty_slave_driver->driver_name = "pty_slave";
284 pty_slave_driver->name = "ttyp"; 283 pty_slave_driver->name = "ttyp";
285 pty_slave_driver->devfs_name = "pty/s";
286 pty_slave_driver->major = PTY_SLAVE_MAJOR; 284 pty_slave_driver->major = PTY_SLAVE_MAJOR;
287 pty_slave_driver->minor_start = 0; 285 pty_slave_driver->minor_start = 0;
288 pty_slave_driver->type = TTY_DRIVER_TYPE_PTY; 286 pty_slave_driver->type = TTY_DRIVER_TYPE_PTY;