diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-08 15:51:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-15 11:30:18 +0300 |
commit | 9f72cab1596327e1011ab4599c07b165e0fb45db (patch) | |
tree | d00f9f8305d32f5c0ab22f4dda2cb226599225b9 /drivers/tty/tty_ioctl.c | |
parent | dd9f611442578ca8392e90adbca5815d79946b5e (diff) | |
download | linux-9f72cab1596327e1011ab4599c07b165e0fb45db.tar.xz |
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>
Diffstat (limited to 'drivers/tty/tty_ioctl.c')
-rw-r--r-- | drivers/tty/tty_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_ioctl.c b/drivers/tty/tty_ioctl.c index 420e7678330f..41f7449d0464 100644 --- a/drivers/tty/tty_ioctl.c +++ b/drivers/tty/tty_ioctl.c @@ -21,6 +21,7 @@ #include <linux/bitops.h> #include <linux/mutex.h> #include <linux/compat.h> +#include "tty.h" #include <asm/io.h> #include <linux/uaccess.h> |