blob: 8bd3edf3e2d594c0a5aa6fa02fc72709e5cfd6bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/driver/mxuport/mx-uport.c 2021-09-14 08:49:18.570936486 -0400
+++ b/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,10,180))
+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
|