]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sysinfo.h: Add re-inclusion guard
authorTom Rini <trini@konsulko.com>
Mon, 19 Apr 2021 20:18:49 +0000 (16:18 -0400)
committerTom 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

index 68fad25a0659b20772a2f98e6b2d7f4b690761f1..8054d4d4a1fa70487bedd142fe1c6989d7742fdb 100644 (file)
@@ -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