From: Lukasz Majewski Date: Sun, 29 Apr 2018 15:36:28 +0200 Subject: [U-Boot] [PATCH v3 2/7] bootcount: Add include guards into bootcount.h file In-Reply-To: <20180429133633.29509-1-lukma@denx.de> References: <20180429133633.29509-1-lukma@denx.de> Message-ID: <20180429133633.29509-3-lukma@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch adds missing include guards for bootcount.h file. Signed-off-by: Lukasz Majewski Reviewed-by: Stefan Roese --- Changes in v3: - None Changes in v2: - New patch include/bootcount.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bootcount.h b/include/bootcount.h index 06fb4d3578..e3b3f7028e 100644 --- a/include/bootcount.h +++ b/include/bootcount.h @@ -4,6 +4,8 @@ * * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef _BOOTCOUNT_H__ +#define _BOOTCOUNT_H__ #include #include @@ -38,3 +40,4 @@ static inline u32 raw_bootcount_load(volatile u32 *addr) return in_be32(addr); } #endif +#endif /* _BOOTCOUNT_H__ */ -- 2.11.0