diff options
author | Lukasz Majewski <lukma@denx.de> | 2017-12-11 18:36:22 -0500 |
---|---|---|
committer | Alexander Sverdlin <alexander.sverdlin@gmail.com> | 2017-12-13 16:23:13 -0500 |
commit | a49bf939dab236fdadcdcbf9720bdc6cd9838a27 (patch) | |
tree | b5f9f5f2421239055512ed77fe879b68b30eb1c1 | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
ARM: ep93xx: ts72xx: Provide include guards for ts72xx.h file
This commit adds include file guards to ts72xx.h
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
-rw-r--r-- | arch/arm/mach-ep93xx/ts72xx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/ts72xx.h b/arch/arm/mach-ep93xx/ts72xx.h index 8a3206a54b39..7b7490f10fa9 100644 --- a/arch/arm/mach-ep93xx/ts72xx.h +++ b/arch/arm/mach-ep93xx/ts72xx.h | |||
@@ -12,6 +12,9 @@ | |||
12 | * febfd000 22800000 4K options register #2 | 12 | * febfd000 22800000 4K options register #2 |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #ifndef __TS72XX_H_ | ||
16 | #define __TS72XX_H_ | ||
17 | |||
15 | #define TS72XX_MODEL_PHYS_BASE 0x22000000 | 18 | #define TS72XX_MODEL_PHYS_BASE 0x22000000 |
16 | #define TS72XX_MODEL_VIRT_BASE IOMEM(0xfebff000) | 19 | #define TS72XX_MODEL_VIRT_BASE IOMEM(0xfebff000) |
17 | #define TS72XX_MODEL_SIZE 0x00001000 | 20 | #define TS72XX_MODEL_SIZE 0x00001000 |
@@ -83,3 +86,4 @@ static inline int is_ts9420_installed(void) | |||
83 | TS72XX_OPTIONS2_TS9420); | 86 | TS72XX_OPTIONS2_TS9420); |
84 | } | 87 | } |
85 | #endif | 88 | #endif |
89 | #endif /* __TS72XX_H_ */ | ||