Commit 19de2deb814a0e4eee0c8ada726a6f9cb698fe57

Authored by Semen Protsenko
Committed by Tom Rini
1 parent 92100426cb

arm: ti: Add missing guards to headers

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>

Showing 2 changed files with 10 additions and 0 deletions Side-by-side Diff

include/environment/ti/dfu.h
... ... @@ -6,6 +6,9 @@
6 6 * SPDX-License-Identifier: GPL-2.0+
7 7 */
8 8  
  9 +#ifndef __TI_DFU_H
  10 +#define __TI_DFU_H
  11 +
9 12 #define DFU_ALT_INFO_MMC \
10 13 "dfu_alt_info_mmc=" \
11 14 "boot part 0 1;" \
... ... @@ -75,4 +78,6 @@
75 78 "u-boot-env raw 0x1C0000 0x010000;" \
76 79 "u-boot-env.backup raw 0x1D0000 0x010000;" \
77 80 "kernel raw 0x1E0000 0x800000\0"
  81 +
  82 +#endif /* __TI_DFU_H */
include/environment/ti/mmc.h
... ... @@ -6,6 +6,9 @@
6 6 * SPDX-License-Identifier: GPL-2.0+
7 7 */
8 8  
  9 +#ifndef __TI_MMC_H
  10 +#define __TI_MMC_H
  11 +
9 12 #define DEFAULT_MMC_TI_ARGS \
10 13 "mmcdev=0\0" \
11 14 "mmcrootfstype=ext4 rootwait\0" \
... ... @@ -66,4 +69,6 @@
66 69 "fi;" \
67 70 "fi;" \
68 71 "fi;\0"
  72 +
  73 +#endif /* __TI_MMC_H */