From: Simon Glass Date: Thu, 12 Jul 2012 05:25:02 +0000 (+0000) Subject: fdt: Add header guard to fdtdec.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5bfa78db4ffcc2c53aaf7e0a303008c80441b0b5;p=project%2Fbcm63xx%2Fu-boot.git fdt: Add header guard to fdtdec.h This makes it easier to include this header from other headers. Signed-off-by: Simon Glass Acked-by: Mike Frysinger --- diff --git a/include/fdtdec.h b/include/fdtdec.h index a8f783ffd5..d829606f15 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