]> git.baikalelectronics.ru Git - kernel.git/commit
tty: clean include/linux/tty.h up
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 12:51:34 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 08:32:17 +0000 (10:32 +0200)
commit72119514ac3e03e714dea1134e6bef30b22ee4ea
tree9c00b2cc61c9774f336cefc063041a6e0c9c6cbe
parent5d9b1e09e95d2498a496cc1f2f65ff378a17716f
tty: clean include/linux/tty.h up

There are a lot of tty-core-only functions that are listed in
include/linux/tty.h.  Move them to drivers/tty/tty.h so that no one else
can accidentally call them or think that they are public functions.

Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-14-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c
drivers/tty/n_hdlc.c
drivers/tty/tty.h
drivers/tty/tty_baudrate.c
include/linux/tty.h