tty: add missing tty_driver include to tty_port.h
PATCH 1/1 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 <[email protected]>
Signed-off-by Johan Hovold <[email protected]>
---
The offending commit went into 7.1-rc1 so this could go into tty-linus.
Johan
include/linux/tty_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/tty_port.h +1 -1
@@ -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 ;
Signature · 1 line
2.53.0