diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-10 08:35:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 02:13:28 +0300 |
commit | 27228732aa94f3883433fab2f43eee373c638f2f (patch) | |
tree | c6a9caea28f88c0f59da4071579ea7b4fbf4a7eb /drivers/tty/tty_io.c | |
parent | d1d027eff5693c3cea71e4ce2f1c3a707baec02d (diff) | |
download | linux-27228732aa94f3883433fab2f43eee373c638f2f.tar.xz |
tty: Eliminate global symbol tty_ldisc_N_TTY
Reduce global tty symbols; move and rename tty_ldisc_begin() as
n_tty_init() and redefine the N_TTY ldisc ops as file scope.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index cb0a0c82279b..798acb690092 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -3576,7 +3576,7 @@ void __init console_init(void) initcall_t *call; /* Setup the default TTY line discipline. */ - tty_ldisc_begin(); + n_tty_init(); /* * set up the console device so that later boot sequences can |