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>
This commit is contained in:
Peter Hurley
2016-01-09 21:35:19 -08:00
committed by Greg Kroah-Hartman
parent d1d027eff5
commit 27228732aa
4 changed files with 10 additions and 13 deletions

View File

@@ -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