Skip to content

Commit

Permalink
of: add include asm/setup.h in drivers/of/fdt.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yu Yue authored and Guan Xuetao committed Jan 10, 2012
1 parent 8c93940 commit eb52d58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/fdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <asm/machdep.h>
#endif /* CONFIG_PPC */

#include <asm/setup.h>
#include <asm/page.h>

char *of_fdt_get_string(struct boot_param_header *blob, u32 offset)
Expand Down

0 comments on commit eb52d58

Please sign in to comment.