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: eb3b0d92c9 ("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>
master
Johan Hovold 2026-05-06 14:43:23 +02:00 committed by Greg Kroah-Hartman
parent ca2584d841
commit 1e5b50c78d
1 changed files with 1 additions and 1 deletions

View File

@ -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;