]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fdt: Add header guard to fdtdec.h
authorSimon Glass <sjg@chromium.org>
Thu, 12 Jul 2012 05:25:02 +0000 (05:25 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 21 Sep 2012 20:02:36 +0000 (22:02 +0200)
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>
include/fdtdec.h

index a8f783ffd5097873048d49dcafc69ffbb264f5da..d829606f151cf91059bfd371c2eb29550d47cacc 100644 (file)
@@ -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