aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorGravatar Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> 2024-02-15 13:15:38 +0200
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2024-02-18 18:59:59 +0100
commit548fcf037b3f8592e9fe41469110453a777416d6 (patch)
tree976b7aca427ab15670f0aa3216e2631b844592f9 /drivers/tty
parentserial: 8250_of: Drop quirk fot NPCM from 8250_port (diff)
downloadlinux-548fcf037b3f8592e9fe41469110453a777416d6.tar.gz
linux-548fcf037b3f8592e9fe41469110453a777416d6.tar.bz2
linux-548fcf037b3f8592e9fe41469110453a777416d6.zip
tty: Don't include tty_buffer.h in tty.h
There's no need to include linux/tty_buffer.h in linux/tty.h. Move the include into tty_buffer.c that is actually using it. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240215111538.1920-1-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/tty_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c
index f8883afbeeba..79f0ff94ce00 100644
--- a/drivers/tty/tty_buffer.c
+++ b/drivers/tty/tty_buffer.c
@@ -7,6 +7,7 @@
#include <linux/errno.h>
#include <linux/minmax.h>
#include <linux/tty.h>
+#include <linux/tty_buffer.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/timer.h>