mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
1cb2323b8a
commit
5bfa78db4f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue