]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Eliminate global symbol tty_ldisc_N_TTY
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 05:35:19 +0000 (21:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 23:13:28 +0000 (15:13 -0800)
commitdf26e5063d2d49069f9d185769bc234f8a1cdec2
treec6a9caea28f88c0f59da4071579ea7b4fbf4a7eb
parent0e8e8f7e2b920f02e046cb9df4c13ad39be22739
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>
drivers/tty/n_tty.c
drivers/tty/tty_io.c
drivers/tty/tty_ldisc.c
include/linux/tty.h