summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_baudrate.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-08 15:51:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-15 11:32:17 +0300
commit5ffa6e344a1c92a27c242f500fc74e6eb361a4bc (patch)
tree9c00b2cc61c9774f336cefc063041a6e0c9c6cbe /drivers/tty/tty_baudrate.c
parent9f72cab1596327e1011ab4599c07b165e0fb45db (diff)
downloadlinux-5ffa6e344a1c92a27c242f500fc74e6eb361a4bc.tar.xz
tty: clean include/linux/tty.h up
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>
Diffstat (limited to 'drivers/tty/tty_baudrate.c')
-rw-r--r--drivers/tty/tty_baudrate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_baudrate.c b/drivers/tty/tty_baudrate.c
index 6551b188b736..48b5de659c77 100644
--- a/drivers/tty/tty_baudrate.c
+++ b/drivers/tty/tty_baudrate.c
@@ -8,6 +8,7 @@
#include <linux/termios.h>
#include <linux/tty.h>
#include <linux/export.h>
+#include "tty.h"
/*