summarylogtreecommitdiffstats
path: root/0008-kernel-6.0-set_termios-const-ktermios.patch
diff options
context:
space:
mode:
Diffstat (limited to '0008-kernel-6.0-set_termios-const-ktermios.patch')
-rw-r--r--0008-kernel-6.0-set_termios-const-ktermios.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/0008-kernel-6.0-set_termios-const-ktermios.patch b/0008-kernel-6.0-set_termios-const-ktermios.patch
index 772dc359e85a..6b9aa983a7d6 100644
--- a/0008-kernel-6.0-set_termios-const-ktermios.patch
+++ b/0008-kernel-6.0-set_termios-const-ktermios.patch
@@ -8,7 +8,7 @@ diff -pNaru5 a/pserial/perle-serial.c b/pserial/perle-serial.c
}
-#if (LINUX_VERSION_CODE > 0x20612) // 2.6.18
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,0,0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,0)
+static void ps_set_termios(struct tty_struct *tty, const struct ktermios *old_termios)
+#elif (LINUX_VERSION_CODE > 0x20612) // 2.6.18
static void ps_set_termios(struct tty_struct *tty, struct ktermios *old_termios)