summaryrefslogtreecommitdiffstats
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorGerald Van Baren <gvb@unssw.com>2013-02-07 19:49:54 -0500
committerGerald Van Baren <gvb@unssw.com>2013-02-08 22:32:38 -0500
commit58864ddc7276ca7403ddbb716da5853638f37519 (patch)
tree2a856b746a243fb223d547aeb301a4d236dea75d /include/fdt_support.h
parent8aa5ec6e1628116e655fbd036391ebc1987588f9 (diff)
downloadblackbird-obmc-uboot-58864ddc7276ca7403ddbb716da5853638f37519.tar.gz
blackbird-obmc-uboot-58864ddc7276ca7403ddbb716da5853638f37519.zip
Clean up libfdt.h includes
The libfdt.h file is the definition file for libfdt. It is unnecessary to include other fdt header files (the necessary ones are pulled in by libfdt.h). Signed-off-by: Gerald Van Baren <gvb@unssw.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 568bcbfaa7..2cccc3551d 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -26,8 +26,7 @@
#ifdef CONFIG_OF_LIBFDT
-#include <libfdt_env.h>
-#include <fdt.h>
+#include <libfdt.h>
u32 fdt_getprop_u32_default(const void *fdt, const char *path,
const char *prop, const u32 dflt);
OpenPOWER on IntegriCloud