projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb2323
)
fdt: Add header guard to fdtdec.h
author
Simon Glass
<sjg@chromium.org>
Thu, 12 Jul 2012 05:25:02 +0000
(
05:25
+0000)
committer
Anatolij 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
patch
|
blob
|
history
diff --git
a/include/fdtdec.h
b/include/fdtdec.h
index a8f783ffd5097873048d49dcafc69ffbb264f5da..d829606f151cf91059bfd371c2eb29550d47cacc 100644
(file)
--- 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