From 188f11a16d79a69832866ec7e8b850a9d1a8fae1 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 3 Sep 2003 11:13:31 -0700 Subject: [PATCH] [PATCH] devfs pty fix From: Andrew Lunn Create the pty slaves on init so the behaviour is consistant with 2.4 and 2.6 without devfs. --- drivers/char/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/pty.c b/drivers/char/pty.c index f91f50897543f..85fa5d9503cba 100644 --- a/drivers/char/pty.c +++ b/drivers/char/pty.c @@ -354,7 +354,7 @@ int __init pty_init(void) pty_slave_driver->init_termios = tty_std_termios; pty_slave_driver->init_termios.c_cflag = B38400 | CS8 | CREAD; pty_slave_driver->flags = TTY_DRIVER_RESET_TERMIOS | - TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS; + TTY_DRIVER_REAL_RAW; pty_slave_driver->other = pty_driver; tty_set_operations(pty_slave_driver, &pty_ops); -- 2.53.0