]> git.baikalelectronics.ru Git - kernel.git/commit
tty: create internal tty.h file
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 12:51:22 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 08:22:17 +0000 (10:22 +0200)
commit9afce43f366177e37fb962af0a3318bc80a3d62a
tree8a5498bc9d017697319fd1abf7d79fd5373a5375
parentf8c232574c1b745a8f5f9b5c60a3a8b5c5b50926
tty: create internal tty.h file

There are a number of functions and #defines in include/linux/tty.h that
do not belong there as they are private to the tty core code.

Create an initial drivers/tty/tty.h file and copy the odd "tty logging"
macros into it to seed the file with some initial things that we know
nothing outside of the tty core should be calling.

Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/pty.c
drivers/tty/tty.h [new file with mode: 0644]
drivers/tty/tty_io.c
drivers/tty/tty_jobctrl.c
drivers/tty/tty_ldisc.c
drivers/tty/tty_port.c
include/linux/tty.h