summarylogtreecommitdiffstats
path: root/0006-kernel-5.13-dropped-tty_check_change.patch
blob: 00c672f9e2dfd88d2237575bd3067c29633261d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -pNaru5 driver/2.6.27.orig/dgrp_tty.c driver/2.6.27/dgrp_tty.c
--- driver/2.6.27.orig/dgrp_tty.c	2020-01-28 12:01:10.000000000 -0500
+++ driver/2.6.27/dgrp_tty.c	2021-08-10 14:00:21.627782755 -0400
@@ -3246,10 +3246,13 @@ static int dgrp_tty_digisetedelay(struct
 	drp_param(ch);
 
 	return 0;
 }
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0)
+int tty_check_change(struct tty_struct *tty);
+#endif
 
 /*
  *	The usual assortment of ioctl's
  *
  *	note:  use tty_check_change to make sure that we are not