bootcount: Add include guards into bootcount.h file
This patch adds missing include guards for bootcount.h file.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Alex Kiernan <alex.kiernan@gmail.com>
diff --git a/include/bootcount.h b/include/bootcount.h
index 3eb8024..c0a6b6e 100644
--- a/include/bootcount.h
+++ b/include/bootcount.h
@@ -3,6 +3,8 @@
* (C) Copyright 2012
* Stefan Roese, DENX Software Engineering, sr@denx.de.
*/
+#ifndef _BOOTCOUNT_H__
+#define _BOOTCOUNT_H__
#include <common.h>
#include <asm/io.h>
@@ -37,3 +39,4 @@
return in_be32(addr);
}
#endif
+#endif /* _BOOTCOUNT_H__ */