summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-05-06 14:43:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-11 17:03:00 +0200
commit1e5b50c78d10119be08bf8f7a11d8ea333dd113a (patch)
tree4361510139e941b923ec5f41cc9e710a99609e68 /include/linux
parentca2584d841b69391ffc4144840563d2e1a0018df (diff)
downloadlwn-1e5b50c78d10119be08bf8f7a11d8ea333dd113a.tar.gz
lwn-1e5b50c78d10119be08bf8f7a11d8ea333dd113a.zip
tty: add missing tty_driver include to tty_port.h
Include the definition of struct tty_driver in tty_port.h to keep the header self-contained and avoid build breakage in case anyone includes it before tty_driver.h. Fixes: eb3b0d92c9c3 ("tty: tty_port: add workqueue to flip TTY buffer") Cc: Xin Zhao <jackzxcui1989@163.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260506124323.186703-1-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tty_port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty_port.h b/include/linux/tty_port.h
index d2a7882c0b58..23cad403bb8f 100644
--- a/include/linux/tty_port.h
+++ b/include/linux/tty_port.h
@@ -6,10 +6,10 @@
#include <linux/kref.h>
#include <linux/mutex.h>
#include <linux/tty_buffer.h>
+#include <linux/tty_driver.h>
#include <linux/wait.h>
struct attribute_group;
-struct tty_driver;
struct tty_port;
struct tty_struct;