]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/dtc/treesource.c
Merge tag 'for-v3.7' of git://git.infradead.org/users/cbou/linux-pstore
[karo-tx-linux.git] / scripts / dtc / treesource.c
index c09aafade313509740d662ed2c5f36a0d895a004..33eeba55fb4dd6482193902e784dbb1a62368f3e 100644 (file)
@@ -23,6 +23,7 @@
 
 extern FILE *yyin;
 extern int yyparse(void);
+extern YYLTYPE yylloc;
 
 struct boot_info *the_boot_info;
 int treesource_error;
@@ -34,6 +35,7 @@ struct boot_info *dt_from_source(const char *fname)
 
        srcfile_push(fname);
        yyin = current_srcfile->f;
+       yylloc.file = current_srcfile;
 
        if (yyparse() != 0)
                die("Unable to parse input tree\n");