Message ID | 20180429133633.29509-3-lukma@denx.de |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
Series | Provide SPL support for bootcount (in the case of using falcon boot mode) | expand |
On Sun, Apr 29, 2018 at 03:36:28PM +0200, Lukasz Majewski wrote: > 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>
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 <common.h> #include <asm/io.h> @@ -38,3 +40,4 @@ static inline u32 raw_bootcount_load(volatile u32 *addr) return in_be32(addr); } #endif +#endif /* _BOOTCOUNT_H__ */