Skip to content
Snippets Groups Projects
Commit 927b1d84 authored by Natalia Kovalenko's avatar Natalia Kovalenko
Browse files

recipes-kernel:v4.4: Update patch that fixes the multiple definition of yylloc

parent 77880c66
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,8 @@ Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
scripts/dtc/dtc-lexer.l | 1 -
1 file changed, 1 deletion(-)
scripts/dtc/dtc-lexer.lex.c_shipped | 1 -
2 file changed, 2 deletion(-)
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index fd825ebba69c..24af54997758 100644
......@@ -44,6 +45,18 @@ index fd825ebba69c..24af54997758 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 011bb963..79952cd3 100644
--- a/scripts/dtc/dtc-lexer.lex.c_shipped
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped
@@ -631,7 +631,6 @@ char *yytext;
#include "srcpos.h"
#include "dtc-parser.tab.h"
-YYLTYPE yylloc;
extern bool treesource_error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment