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:

committed by
Greg Kroah-Hartman

parent
d1d027eff5
commit
27228732aa
@@ -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
|
||||
|
Reference in New Issue
Block a user