summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-04-19 16:18:49 -0400
committerTom Rini <trini@konsulko.com>2021-04-20 07:31:12 -0400
commit56a3433ef559512e731a943d8af7965973d090df (patch)
treef8e520cd4ea4f2a776e65ab34342c8869300580e
parent9f4b53436c7385d4800645eb1158dd4d56cc32f4 (diff)
downloadu-boot-56a3433ef559512e731a943d8af7965973d090df.tar.gz
sysinfo.h: Add re-inclusion guard
Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this file. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/sysinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index 68fad25a06..8054d4d4a1 100644
--- 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