projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f4b534
)
sysinfo.h: Add re-inclusion guard
author
Tom Rini
<trini@konsulko.com>
Mon, 19 Apr 2021 20:18:49 +0000
(16:18 -0400)
committer
Tom Rini
<trini@konsulko.com>
Tue, 20 Apr 2021 11:31:12 +0000
(07:31 -0400)
Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this
file.
Signed-off-by: Tom Rini <trini@konsulko.com>
include/sysinfo.h
patch
|
blob
|
history
diff --git
a/include/sysinfo.h
b/include/sysinfo.h
index
68fad25
..
8054d4d
100644
(file)
--- a/
include/sysinfo.h
+++ b/
include/sysinfo.h
@@
-4,6
+4,9
@@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/
+#ifndef __SYSINFO_H__
+#define __SYSINFO_H__
+
struct udevice;
/*
@@
-228,3
+231,4
@@
static inline int sysinfo_get_fit_loadable(struct udevice *dev, int index,
}
#endif
+#endif