[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xen/arm: Guard correctly asm-arm/platforms/exynos5.h



commit 771b032d1ffd41b55e63cb9395c38562dd310e84
Author:     Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Wed Mar 19 21:27:49 2014 +0000
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Fri Mar 21 11:29:28 2014 +0000

    xen/arm: Guard correctly asm-arm/platforms/exynos5.h
    
    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@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/include/asm-arm/platforms/exynos5.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/include/asm-arm/platforms/exynos5.h 
b/xen/include/asm-arm/platforms/exynos5.h
index af30608..ea941e7 100644
--- a/xen/include/asm-arm/platforms/exynos5.h
+++ b/xen/include/asm-arm/platforms/exynos5.h
@@ -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 */
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.