-
- Downloads
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: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>
Showing
- drivers/tty/n_tty.c 1 addition, 0 deletionsdrivers/tty/n_tty.c
- drivers/tty/pty.c 1 addition, 0 deletionsdrivers/tty/pty.c
- drivers/tty/tty.h 21 additions, 0 deletionsdrivers/tty/tty.h
- drivers/tty/tty_io.c 1 addition, 0 deletionsdrivers/tty/tty_io.c
- drivers/tty/tty_jobctrl.c 1 addition, 0 deletionsdrivers/tty/tty_jobctrl.c
- drivers/tty/tty_ldisc.c 1 addition, 0 deletionsdrivers/tty/tty_ldisc.c
- drivers/tty/tty_port.c 1 addition, 0 deletionsdrivers/tty/tty_port.c
- include/linux/tty.h 0 additions, 12 deletionsinclude/linux/tty.h
Loading
Please register or sign in to comment