From patchwork Tue Sep 20 04:46:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4191 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 80B1923EF9 for ; Tue, 20 Sep 2011 04:50:11 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 5D23DA181E2 for ; Tue, 20 Sep 2011 04:50:11 +0000 (UTC) Received: by fxe23 with SMTP id 23so238263fxe.11 for ; Mon, 19 Sep 2011 21:50:11 -0700 (PDT) Received: by 10.223.94.134 with SMTP id z6mr642895fam.8.1316494211152; Mon, 19 Sep 2011 21:50:11 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.18.198 with SMTP id y6cs66103lad; Mon, 19 Sep 2011 21:50:10 -0700 (PDT) Received: by 10.236.77.162 with SMTP id d22mr1631043yhe.24.1316494207209; Mon, 19 Sep 2011 21:50:07 -0700 (PDT) Received: from mail-gy0-f178.google.com (mail-gy0-f178.google.com [209.85.160.178]) by mx.google.com with ESMTPS id m10si290471yhk.27.2011.09.19.21.50.06 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Sep 2011 21:50:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by gyf1 with SMTP id 1so378138gyf.37 for ; Mon, 19 Sep 2011 21:50:06 -0700 (PDT) Received: by 10.68.41.134 with SMTP id f6mr5490743pbl.439.1316494205592; Mon, 19 Sep 2011 21:50:05 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i3sm2092145pbg.10.2011.09.19.21.50.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Sep 2011 21:50:04 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, linaro-dev@lists.linaro.org, patches@linaro.org, sachin.kamat@linaro.org Subject: [PATCH] ARM: EXYNOS4: Add header file protection macros Date: Tue, 20 Sep 2011 10:16:01 +0530 Message-Id: <1316493961-7650-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 This patch adds header file protection macros to prevent duplication. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos4/include/mach/pm-core.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/include/mach/pm-core.h b/arch/arm/mach-exynos4/include/mach/pm-core.h index 1df3b81..4c3406b 100644 --- a/arch/arm/mach-exynos4/include/mach/pm-core.h +++ b/arch/arm/mach-exynos4/include/mach/pm-core.h @@ -14,6 +14,10 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +#ifndef __ASM_ARCH_PM_CORE_H +#define __ASM_ARCH_PM_CORE_H __FILE__ + #include static inline void s3c_pm_debug_init_uart(void) @@ -57,3 +61,5 @@ static inline void s3c_pm_saved_gpios(void) { /* nothing here yet */ } + +#endif /* __ASM_ARCH_PM_CORE_H */