summaryrefslogtreecommitdiffstats
path: root/include/linux/tty_flip.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-07-23 12:31:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 12:12:08 +0200
commit52c27f13b52cd7b7893de4fc11f1555d3917c3e6 (patch)
tree17dbbfe3729dabaa3cc3410b67f22244c1067cf2 /include/linux/tty_flip.h
parent67b94be44771ab99bdbd019e19314f268fa1ff8c (diff)
downloadlinux-stable-52c27f13b52cd7b7893de4fc11f1555d3917c3e6.tar.gz
linux-stable-52c27f13b52cd7b7893de4fc11f1555d3917c3e6.tar.bz2
linux-stable-52c27f13b52cd7b7893de4fc11f1555d3917c3e6.zip
tty: tty_flip.h needs only tty_buffer and tty_port
tty_flip.h currently includes whole tty.h. In fact, it needs only tty_buffer and tty_port definitions. Provided, we separated tty_buffer and tty_port into separate headers in the previous patch, we can make tty_flip.h to include only much lighter tty_buffer.h and tty_port.h. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210723103147.18250-9-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_flip.h')
-rw-r--r--include/linux/tty_flip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/tty_flip.h b/include/linux/tty_flip.h
index 615a2a87b2a7..32284992b31a 100644
--- a/include/linux/tty_flip.h
+++ b/include/linux/tty_flip.h
@@ -2,7 +2,8 @@
#ifndef _LINUX_TTY_FLIP_H
#define _LINUX_TTY_FLIP_H
-#include <linux/tty.h>
+#include <linux/tty_buffer.h>
+#include <linux/tty_port.h>
struct tty_ldisc;