mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
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>
This commit is contained in:
parent
67b94be447
commit
52c27f13b5
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue