summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-07-12 05:25:02 +0000
committerAnatolij Gustschin <agust@denx.de>2012-09-21 22:02:36 +0200
commit5bfa78db4ffcc2c53aaf7e0a303008c80441b0b5 (patch)
tree593cad29afe21911389a53f7b9a687fd39cfd31c /include/fdtdec.h
parent1cb2323b8a457f00f50a76a3491d7f21a3c0929f (diff)
downloadu-boot-imx-5bfa78db4ffcc2c53aaf7e0a303008c80441b0b5.zip
u-boot-imx-5bfa78db4ffcc2c53aaf7e0a303008c80441b0b5.tar.gz
u-boot-imx-5bfa78db4ffcc2c53aaf7e0a303008c80441b0b5.tar.bz2
fdt: Add header guard to fdtdec.h
This makes it easier to include this header from other headers. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index a8f783f..d829606 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -19,6 +19,8 @@
* MA 02111-1307 USA
*/
+#ifndef __fdtdec_h
+#define __fdtdec_h
/*
* This file contains convenience functions for decoding useful and
@@ -382,3 +384,4 @@ int fdtdec_get_byte_array(const void *blob, int node, const char *prop_name,
*/
const u8 *fdtdec_locate_byte_array(const void *blob, int node,
const char *prop_name, int count);
+#endif