tty: add more tty_port fields
Move more bits into the tty_port structure Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -2094,6 +2094,8 @@ void tty_port_init(struct tty_port *port)
|
||||
init_waitqueue_head(&port->open_wait);
|
||||
init_waitqueue_head(&port->close_wait);
|
||||
mutex_init(&port->mutex);
|
||||
port->close_delay = (50 * HZ) / 100;
|
||||
port->closing_wait = (3000 * HZ) / 100;
|
||||
}
|
||||
EXPORT_SYMBOL(tty_port_init);
|
||||
|
||||
|
Reference in New Issue
Block a user