瀏覽代碼

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>
Lukasz Majewski 7 年之前
父節點
當前提交
c1cd21db62
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/bootcount.h

+ 3 - 0
include/bootcount.h

@@ -3,6 +3,8 @@
  * (C) Copyright 2012
  * (C) Copyright 2012
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  */
  */
+#ifndef _BOOTCOUNT_H__
+#define _BOOTCOUNT_H__
 
 
 #include <common.h>
 #include <common.h>
 #include <asm/io.h>
 #include <asm/io.h>
@@ -37,3 +39,4 @@ static inline u32 raw_bootcount_load(volatile u32 *addr)
 	return in_be32(addr);
 	return in_be32(addr);
 }
 }
 #endif
 #endif
+#endif /* _BOOTCOUNT_H__ */