]> git.baikalelectronics.ru Git - kernel.git/commit
tty: move some tty-only functions to drivers/tty/tty.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 12:51:32 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 08:30:18 +0000 (10:30 +0200)
commit5d9b1e09e95d2498a496cc1f2f65ff378a17716f
treed00f9f8305d32f5c0ab22f4dda2cb226599225b9
parent0bdf2037f5a425380793d80a69cb28ccad3318ea
tty: move some tty-only functions to drivers/tty/tty.h

The flow change and restricted_tty_write() logic is internal to the tty
core only, so move it out of the include/linux/tty.h file.

Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-12-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty.h
drivers/tty/tty_ioctl.c
include/linux/tty.h