diff --git a/scripts/kernel-functions b/scripts/kernel-functions index e34e43bcf..81dbd7e19 100644 --- a/scripts/kernel-functions +++ b/scripts/kernel-functions @@ -722,6 +722,18 @@ index 5c6c3fd557d7..b3b7270300de 100644 #include "srcpos.h" #include "dtc-parser.tab.h" +-YYLTYPE yylloc; + extern bool treesource_error; + + /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ +diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped +index 5c6c3fd557d7..b3b7270300de 100644 +--- a/scripts/dtc/dtc-lexer.lex.c_shipped ++++ b/scripts/dtc/dtc-lexer.lex.c_shipped +@@ -23,7 +23,6 @@ LINECOMMENT "//".*\n + #include "srcpos.h" + #include "dtc-parser.tab.h" + -YYLTYPE yylloc; extern bool treesource_error;