summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-05-02 16:10:51 +0200
committerTom Rini <trini@konsulko.com>2018-05-10 20:37:05 -0400
commitc1cd21db621cb9b626f41d42bd4b8ac2d86709ce (patch)
treeeea0b3260485fc34e29f6500e393c2415fa81d89
parentafa9609ecabc2135debe9d5329f72d58aea4ff05 (diff)
downloadu-boot-c1cd21db621cb9b626f41d42bd4b8ac2d86709ce.tar.gz
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>
-rw-r--r--include/bootcount.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bootcount.h b/include/bootcount.h
index 3eb802470a..c0a6b6e0e2 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 @@ static inline u32 raw_bootcount_load(volatile u32 *addr)
return in_be32(addr);
}
#endif
+#endif /* _BOOTCOUNT_H__ */