From: Julien Grall Subject: [PATCH] xen/arm: Guard correctly asm-arm/platforms/exynos5.h Date: Wed, 19 Mar 2014 21:22:26 +0000 Message-ID: <1395264146-12698-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQNwV-0000JK-I7 for xen-devel@lists.xenproject.org; Wed, 19 Mar 2014 21:22:31 +0000 Received: by mail-ee0-f48.google.com with SMTP id b57so6373960eek.21 for ; Wed, 19 Mar 2014 14:22:30 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org 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 --- xen/include/asm-arm/platforms/exynos5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/asm-arm/platforms/exynos5.h b/xen/include/asm-arm/platforms/exynos5.h index af30608..2f0866d 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_EXYSNO5_H #define EXYNOS5_MCT_BASE 0x101c0000 #define EXYNOS5_MCT_G_TCON 0x240 /* Relative to MCT_BASE */ -- 1.7.10.4