diff options
Diffstat (limited to '0005-kernel-5.13-dropped-tty_check_change.patch')
-rw-r--r-- | 0005-kernel-5.13-dropped-tty_check_change.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/0005-kernel-5.13-dropped-tty_check_change.patch b/0005-kernel-5.13-dropped-tty_check_change.patch new file mode 100644 index 000000000000..491f41ff08f0 --- /dev/null +++ b/0005-kernel-5.13-dropped-tty_check_change.patch @@ -0,0 +1,17 @@ +--- driver/mxuport/mx-uport.c.orig 2021-09-14 08:49:18.570936486 -0400 ++++ driver/mxuport/mx-uport.c 2021-09-14 08:51:19.203266750 -0400 +@@ -998,10 +998,14 @@ static void mxuport_break_ctl (struct us + } + + return; + } + ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0)) ++int tty_check_change(struct tty_struct *tty); ++#endif ++ + #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)) + static void mxuport_set_termios (struct usb_serial_port *port, struct ktermios *old_termios) + #else + static void mxuport_set_termios (struct usb_serial_port *port, struct termios *old_termios) + #endif |