diff mbox

arm: ti: Add missing guards to headers

Message ID 20170613151558.19900-1-semen.protsenko@linaro.org
State Accepted
Commit 19de2deb814a0e4eee0c8ada726a6f9cb698fe57
Headers show

Commit Message

Sam Protsenko June 13, 2017, 3:15 p.m. UTC
To prevent possible double inclusions in future.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
 include/environment/ti/dfu.h | 5 +++++
 include/environment/ti/mmc.h | 5 +++++
 2 files changed, 10 insertions(+)

Comments

Tom Rini June 13, 2017, 7:24 p.m. UTC | #1
On Tue, Jun 13, 2017 at 06:15:58PM +0300, Sam Protsenko wrote:

> To prevent possible double inclusions in future.

> 

> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
Tom Rini June 14, 2017, 1:14 p.m. UTC | #2
On Tue, Jun 13, 2017 at 06:15:58PM +0300, Sam Protsenko wrote:

> To prevent possible double inclusions in future.

> 

> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
Tom Rini June 16, 2017, 5:11 p.m. UTC | #3
On Tue, Jun 13, 2017 at 06:15:58PM +0300, Semen Protsenko wrote:

> To prevent possible double inclusions in future.

> 

> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

> Reviewed-by: Tom Rini <trini@konsulko.com>

> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

> Reviewed-by: Tom Rini <trini@konsulko.com>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox

Patch

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 */