diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-11-09 21:34:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-15 15:59:04 -0800 |
commit | c0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430 (patch) | |
tree | e33a231f2bf1c944db3ca9589a162373cc308edc /drivers/tty/pty.c | |
parent | b922e19d03a680d732b61dc8e82d9948f6f8b6c7 (diff) | |
download | linux-c0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430.tar.gz linux-c0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430.tar.bz2 linux-c0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430.zip |
TTY: serial, extract uart_port_startup
Extract ASYNC_INITIALIZED/TTY_IO_ERROR handling from uart_startup.
This will be useful for tty port helpers. These flags are handled
by the helpers instead.
So we create a new function uart_port_startup without touching these
flags there. And we keep uart_startup with the exact behavior as
before. We need that one because we start/stop the device from other
paths than open/close/hangup.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions