]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm: ti: Add missing guards to headers
authorSemen Protsenko <semen.protsenko@linaro.org>
Tue, 13 Jun 2017 15:15:58 +0000 (18:15 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jun 2017 14:11:41 +0000 (10:11 -0400)
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>
include/environment/ti/dfu.h
include/environment/ti/mmc.h

index c9f61a577ec2fec5e896fe3f3eed39caf78ed28a..c89005ff4c973315a57c4ea101b722fbe04a99dc 100644 (file)
@@ -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 */
index b987f71516db05634a87a14bd9a857a976230481..4305ebdaaf538eea7ecc39fcd24a45357c9a5397 100644 (file)
@@ -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 */