Commit 5bfa78db4ffcc2c53aaf7e0a303008c80441b0b5
Committed by
Anatolij Gustschin
1 parent
1cb2323b8a
Exists in
master
and in
57 other branches
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>
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
include/fdtdec.h
| ... | ... | @@ -19,6 +19,8 @@ |
| 19 | 19 | * MA 02111-1307 USA |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | +#ifndef __fdtdec_h | |
| 23 | +#define __fdtdec_h | |
| 22 | 24 | |
| 23 | 25 | /* |
| 24 | 26 | * This file contains convenience functions for decoding useful and |
| ... | ... | @@ -382,4 +384,5 @@ |
| 382 | 384 | */ |
| 383 | 385 | const u8 *fdtdec_locate_byte_array(const void *blob, int node, |
| 384 | 386 | const char *prop_name, int count); |
| 387 | +#endif |