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

tty: clean include/linux/tty.h up

[ Upstream commit 5ffa6e34 ]

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: 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 57b510c7
No related branches found
No related tags found
1 merge request!84🤖 Sync Bot: Update v5.10-ktn to Latest Stable Kernel (v5.10.180)
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