summarylogtreecommitdiffstats
path: root/0000-ax99100_sp.c-ch.patch
blob: e6872d2d0d2356098cf37f40a5f5d662e2414d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ax99100_sp.c.orig	2021-01-18 19:34:24.211873721 -0500
+++ ax99100_sp.c	2021-01-18 19:36:01.783310215 -0500
@@ -1020,13 +1020,13 @@ static void receive_chars_dma_done(struc
 #elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
         struct tty_struct *tty = up->port.info->port.tty;
 #else
 	struct tty_struct *tty = up->port.state->port.tty;
 #endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0)
+/* #if LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0) */
 	u8 ch;
-#endif
+/* #endif */
 	int i;		
 	u32 received_bytes;
 	u32 need2recv,temp_spssr2=0;
 
 	up->k_lsr = serial_in(up, UART_LSR);