]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tty: add missing tty_driver include to tty_port.h
authorJohan Hovold <johan@kernel.org>
Wed, 6 May 2026 12:43:23 +0000 (14:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 15:03:00 +0000 (17:03 +0200)
commit1e5b50c78d10119be08bf8f7a11d8ea333dd113a
tree4361510139e941b923ec5f41cc9e710a99609e68
parentca2584d841b69391ffc4144840563d2e1a0018df
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>
include/linux/tty_port.h