diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-11 07:41:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 00:01:44 +0100 |
commit | 133b1306f2068b124a4a00f537896a16786cc544 (patch) | |
tree | 59945a99ab3890cdca440eb29f7b7f3b0d0d5935 /drivers/tty/tty_io.c | |
parent | tty: Destroy ldisc instance on hangup (diff) | |
download | linux-133b1306f2068b124a4a00f537896a16786cc544.tar.xz linux-133b1306f2068b124a4a00f537896a16786cc544.zip |
tty: Document c_line == N_TTY initial condition
The line discipline id is stored in the tty's termios; document the
implicit initial value of N_TTY.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r-- | drivers/tty/tty_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index d3ecbb513fa1..3c90ad44b585 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -123,7 +123,8 @@ struct ktermios tty_std_termios = { /* for the benefit of tty drivers */ ECHOCTL | ECHOKE | IEXTEN, .c_cc = INIT_C_CC, .c_ispeed = 38400, - .c_ospeed = 38400 + .c_ospeed = 38400, + /* .c_line = N_TTY, */ }; EXPORT_SYMBOL(tty_std_termios); |