aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_hdlc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-08 14:51:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-15 10:32:17 +0200
commit5ffa6e344a1c92a27c242f500fc74e6eb361a4bc (patch)
tree9c00b2cc61c9774f336cefc063041a6e0c9c6cbe /drivers/tty/n_hdlc.c
parenttty: move some tty-only functions to drivers/tty/tty.h (diff)
downloadlinux-dev-5ffa6e344a1c92a27c242f500fc74e6eb361a4bc.tar.xz
linux-dev-5ffa6e344a1c92a27c242f500fc74e6eb361a4bc.zip
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/n_hdlc.c')
-rw-r--r--drivers/tty/n_hdlc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c
index 290c757db1b9..b0f33e8ac819 100644
--- a/drivers/tty/n_hdlc.c
+++ b/drivers/tty/n_hdlc.c
@@ -100,6 +100,7 @@
#include <asm/termios.h>
#include <linux/uaccess.h>
+#include "tty.h"
/*
* Buffers for individual HDLC frames