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 <[email protected]>
Signed-off-by: Guan Xuetao <[email protected]>

Cc: Grant Likerly <[email protected]>
Cc: [email protected]
Cc: Arnd Bergmann <[email protected]>
This commit is contained in:
Yu Yue 2011-08-26 18:03:42 +08:00 • committed by Guan Xuetao
commit eb52d58013

View file

@ -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)