tty: clean include/linux/tty.h up
stable inclusion from stable-v5.10.180 commit 6c2ee50c9012b926aa298538a347a747e5ce6ba7 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6c2ee50c9012b926aa298538a347a747e5ce6ba7 -------------------------------- [ 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:Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 094fb49a ("tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment