summaryrefslogtreecommitdiffstats
path: root/drivers/of/fdt.c
diff options
context:
space:
mode:
authorYu Yue <yuyue@mprc.pku.edu.cn>2011-08-26 18:03:42 +0800
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2012-01-10 10:29:41 +0800
commiteb52d5801302a3515506891c13338fbaa7222f36 (patch)
tree21bd6fb7e0117a150d6a9e21e66255defeaf7e9f /drivers/of/fdt.c
parent8c939402e43b21ea8ac031b7f751fa0c6b0faf00 (diff)
downloadblackbird-op-linux-eb52d5801302a3515506891c13338fbaa7222f36.tar.gz
blackbird-op-linux-eb52d5801302a3515506891c13338fbaa7222f36.zip
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>
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r--drivers/of/fdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 91a375fb6ae6..ea2bd1be2640 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -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)
OpenPOWER on IntegriCloud