Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932165Ab1F3Hu0 (ORCPT ); Thu, 30 Jun 2011 03:50:26 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:40951 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758558Ab1F3Htl (ORCPT ); Thu, 30 Jun 2011 03:49:41 -0400 X-AuditID: cbfee61b-b7bfdae000006d51-4b-4e0c2a907629 Date: Thu, 30 Jun 2011 16:49:35 +0900 From: MyungJoo Ham Subject: [PATCH v3 6/6] Samsung SoC: header file revised to prevent declaring duplicated. In-reply-to: <1309420175-10301-1-git-send-email-myungjoo.ham@samsung.com> To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Russell King , Ben Dooks , Kyungmin Park , Changhwan Youn , Marek Szyprowski , Greg Kroah-Hartman , Mark Brown , Jassi Brar , Seungwhan Youn , linux-kernel@vger.kernel.org, myungjoo.ham@gmail.com Message-id: <1309420175-10301-7-git-send-email-myungjoo.ham@samsung.com> X-Mailer: git-send-email 1.7.4.1 Content-transfer-encoding: 7BIT References: <1309420175-10301-1-git-send-email-myungjoo.ham@samsung.com> X-OriginalArrivalTime: 30 Jun 2011 07:49:50.0250 (UTC) FILETIME=[4A4288A0:01CC36FA] X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 36 There has been no #ifndef - #define - #endif protection for this header file. The patch adds it for Exynos4-ADC support Signed-off-by: MyungJoo Ham --- arch/arm/plat-samsung/include/plat/devs.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h index 4af108f..3c87779 100644 --- a/arch/arm/plat-samsung/include/plat/devs.h +++ b/arch/arm/plat-samsung/include/plat/devs.h @@ -12,6 +12,9 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#ifndef __PLAT_DEVS_H +#define __PLAT_DEVS_H __FILE__ + #include struct s3c24xx_uart_resources { @@ -159,3 +162,5 @@ extern struct platform_device s3c_device_ac97; */ extern void *s3c_set_platdata(void *pd, size_t pdsize, struct platform_device *pdev); + +#endif /* __PLAT_DEVS_H */ -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/