summarylogtreecommitdiffstats
path: root/0002-kernel-5.10-async-initialized.patch
blob: b0484e8bcbcf3bcbbf767ec7677dd7b77fd28b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
diff -pNau5 a/driver/8250_core.c b/driver/8250_core.c
--- a/driver/8250_core.c	2021-06-29 11:09:04.090688628 -0400
+++ b/driver/8250_core.c	2021-06-29 11:09:31.918364916 -0400
@@ -47,10 +47,15 @@
 #include <asm/io.h>
 #include <asm/irq.h>
 
 #include "8250.h"
 
+#ifndef ASYNC_INITIALIZED
+/* ArchLinuxPatch-0002-Begin */
+/* ArchLinuxPatch-0002-End */
+#endif
+
 #include "cti485.h"
 
 #define MAX_PORTS 128
 
 #ifndef MIN
diff -pNau5 a/driver/serial_core.c b/driver/serial_core.c
--- a/driver/serial_core.c	2019-04-02 11:23:14.000000000 -0400
+++ b/driver/serial_core.c	2021-06-29 11:09:39.398635744 -0400
@@ -37,10 +37,15 @@
 #include <linux/mutex.h>
 
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 
+#ifndef ASYNC_INITIALIZED
+/* ArchLinuxPatch-0002-Begin */
+/* ArchLinuxPatch-0002-End */
+#endif
+
 #include "cti485.h"
 
 #define REVISION "1.43"
 
 /*