Skip to content
Snippets Groups Projects
Commit 6a392b80 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

tty: create internal tty.h file

[ Upstream commit 98602c01 ]

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 094fb49a ("tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e044a244
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment