Use 4.19.x will links

pull/336/head
Dmitry Ilyin 2022-08-12 22:16:57 +03:00
parent e781bfe3ef
commit 2158855017
5 changed files with 4 additions and 13 deletions

View File

@ -0,0 +1 @@
../../../../../patches/linux/4.19.x/fix_yylloc_for_modern_host_compilers.patch

View File

@ -1,11 +0,0 @@
--- a/scripts/dtc/dtc-lexer.l 2019-12-21 12:57:45.000000000 +0300
+++ b/scripts/dtc/dtc-lexer.l 2021-10-24 16:01:38.478555927 +0300
@@ -38,7 +38,7 @@
#include "srcpos.h"
#include "dtc-parser.tab.h"
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */

View File

@ -0,0 +1 @@
../../../../../patches/linux/4.19.x/fix_yylloc_for_modern_host_compilers.patch

View File

@ -731,7 +731,7 @@ xm550() {
#
#######
#
# nt98562 # OpenIPC
nt98562 # OpenIPC
# nt98566 # OpenIPC
# nt98566_polcam # Polcam
#

View File

@ -5,7 +5,7 @@
#include "dtc-parser.tab.h"
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
+extern YYLTYPE yylloc ;
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */