From: Semen Protsenko Date: Tue, 13 Jun 2017 15:15:58 +0000 (+0300) Subject: arm: ti: Add missing guards to headers X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=19de2deb814a0e4eee0c8ada726a6f9cb698fe57;p=u-boot.git arm: ti: Add missing guards to headers To prevent possible double inclusions in future. Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini Reviewed-by: Lokesh Vutla Reviewed-by: Tom Rini --- diff --git a/include/environment/ti/dfu.h b/include/environment/ti/dfu.h index c9f61a577e..c89005ff4c 100644 --- a/include/environment/ti/dfu.h +++ b/include/environment/ti/dfu.h @@ -6,6 +6,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __TI_DFU_H +#define __TI_DFU_H + #define DFU_ALT_INFO_MMC \ "dfu_alt_info_mmc=" \ "boot part 0 1;" \ @@ -75,3 +78,5 @@ "u-boot-env raw 0x1C0000 0x010000;" \ "u-boot-env.backup raw 0x1D0000 0x010000;" \ "kernel raw 0x1E0000 0x800000\0" + +#endif /* __TI_DFU_H */ diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h index b987f71516..4305ebdaaf 100644 --- a/include/environment/ti/mmc.h +++ b/include/environment/ti/mmc.h @@ -6,6 +6,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __TI_MMC_H +#define __TI_MMC_H + #define DEFAULT_MMC_TI_ARGS \ "mmcdev=0\0" \ "mmcrootfstype=ext4 rootwait\0" \ @@ -66,3 +69,5 @@ "fi;" \ "fi;" \ "fi;\0" + +#endif /* __TI_MMC_H */