ARM: ep93xx: ts72xx: Provide include guards for ts72xx.h file
authorLukasz Majewski <lukma@denx.de>
Mon, 11 Dec 2017 23:36:22 +0000 (00:36 +0100)
committerAlexander Sverdlin <alexander.sverdlin@gmail.com>
Wed, 13 Dec 2017 21:23:13 +0000 (22:23 +0100)
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>
arch/arm/mach-ep93xx/ts72xx.h

index 8a3206a54b39de86223bf1a16e378ae7166f367f..7b7490f10fa9f9813598152be9580dea7bf7444e 100644 (file)
@@ -12,6 +12,9 @@
  * febfd000    22800000        4K      options register #2
  */
 
+#ifndef __TS72XX_H_
+#define __TS72XX_H_
+
 #define TS72XX_MODEL_PHYS_BASE         0x22000000
 #define TS72XX_MODEL_VIRT_BASE         IOMEM(0xfebff000)
 #define TS72XX_MODEL_SIZE              0x00001000
@@ -83,3 +86,4 @@ static inline int is_ts9420_installed(void)
                                        TS72XX_OPTIONS2_TS9420);
 }
 #endif
+#endif /* __TS72XX_H_ */