xen/arm: Guard correctly asm-arm/platforms/exynos5.h
authorJulien Grall <julien.grall@linaro.org>
Wed, 19 Mar 2014 21:27:49 +0000 (21:27 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 21 Mar 2014 11:29:28 +0000 (11:29 +0000)
Fix compilation with clang 3.5:

/local/home/julien/works/arndale/xen/xen/include/asm/platforms/exynos5.h:1:9: error: '__ASM_ARM_PLATFORMS_EXYNOS5_H' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/local/home/julien/works/arndale/xen/xen/include/asm/platforms/exynos5.h:2:9: note: '__ASM_ASM_PLATFORMS_EXYSNO5_H' is defined here; did you mean '__ASM_ARM_PLATFORMS_EXYNOS5_H'?
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __ASM_ARM_PLATFORMS_EXYNOS5_H

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/asm-arm/platforms/exynos5.h

index af306087d51af26f39989c371b3f308b51068658..ea941e7adfc6e974e044dc128106a7c11f86534c 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef __ASM_ARM_PLATFORMS_EXYNOS5_H
-#define __ASM_ASM_PLATFORMS_EXYSNO5_H
+#define __ASM_ARM_PLATFORMS_EXYNOS5_H
 
 #define EXYNOS5_MCT_BASE            0x101c0000
 #define EXYNOS5_MCT_G_TCON          0x240       /* Relative to MCT_BASE */