Commit eb52d5801302a3515506891c13338fbaa7222f36

Authored by Yu Yue
Committed by Guan Xuetao
1 parent 8c939402e4

of: add include asm/setup.h in drivers/of/fdt.c

In the file drivers/of/fdt.c, it uses the COMMAND_LINE_SIZE which is stated
in asm/setup.h, so asm/setup.h should be included in drivers/of/fdt.c.

Signed-off-by: Yu Yue <yuyue@mprc.pku.edu.cn>
Signed-off-by: Guan Xuetao <guanxuetao@mprc.pku.edu.cn>

Cc: Grant Likerly <grant.likely@secretlab.ca>
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Arnd Bergmann <arnd@arndb.de>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -23,6 +23,7 @@
23 23 #include <asm/machdep.h>
24 24 #endif /* CONFIG_PPC */
25 25  
  26 +#include <asm/setup.h>
26 27 #include <asm/page.h>
27 28  
28 29 char *of_fdt_get_string(struct boot_param_header *blob, u32 offset)