From patchwork Wed Apr 2 07:50:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 3926921 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6D89C9F2B6 for ; Wed, 2 Apr 2014 07:37:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 965472022A for ; Wed, 2 Apr 2014 07:37:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA2EA20220 for ; Wed, 2 Apr 2014 07:37:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756803AbaDBHgs (ORCPT ); Wed, 2 Apr 2014 03:36:48 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:36694 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758006AbaDBHeD (ORCPT ); Wed, 2 Apr 2014 03:34:03 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3E00HLF7OQJB80@mailout4.samsung.com>; Wed, 02 Apr 2014 16:34:02 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 6F.99.10364.A6DBB335; Wed, 02 Apr 2014 16:34:02 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-15-533bbd6adb1d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id C3.77.28157.A6DBB335; Wed, 02 Apr 2014 16:34:02 +0900 (KST) Received: from localhost.localdomain ([12.36.165.191]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3E00KU17OBEN00@mmp1.samsung.com>; Wed, 02 Apr 2014 16:34:02 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, linux@arm.linux.org.uk, chow.kim@samsung.com, Pankaj Dubey Subject: [PATCH 05/10] ARM: EXYNOS: Move "regs-pmu" header inclusion in common.h Date: Wed, 02 Apr 2014 16:50:56 +0900 Message-id: <1396425058-4012-6-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1396425058-4012-1-git-send-email-pankaj.dubey@samsung.com> References: <1396425058-4012-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNLMWRmVeSWpSXmKPExsVy+t8zY92svdbBBj19khbLJt1ls+hdcJXN YtPja6wWl3fNYbOYcX4fk8Xty7wWi7Z+YXdg92hp7mHz2Lyk3qNvyypGj8+b5AJYorhsUlJz MstSi/TtErgyll41KZgiXnH0yG/2Bsbjwl2MHBwSAiYSB3eqdjFyApliEhfurWcDsYUEljFK 9Ox3h4ibSPTu/srSxcgFFF/EKHHqVQMrhNPGJNH8eRNYB5uArsST93OZQWwRgWyJS7NusYDY zAJFEm/W/QGrERYIkOh8+IsRZDGLgKrE7wlOIGFeAXeJDSuesUHcoyAxZ5INSJhTwEPifksL O8Q97hJzb+wEWyshMJ1dYveB92AjWQQEJL5NPsQC0SsrsekAM8TNkhIHV9xgmcAovICRYRWj aGpBckFxUnqRiV5xYm5xaV66XnJ+7iZGSEBP2MF474D1IcZkoHETmaVEk/OBEZFXEm9obGZk YWpiamxkbmlGmrCSOK/ao6QgIYH0xJLU7NT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sbbznwtelxaalymxFGckGmoxFxUnAgBAsu0F3QIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are many machine files under "mach-exynos" including "regs-pmu.h" as well as "common.h", so better we move this header inclusion in common.h. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h | 1 + arch/arm/mach-exynos/cpuidle.c | 1 - arch/arm/mach-exynos/exynos.c | 1 - arch/arm/mach-exynos/hotplug.c | 1 - arch/arm/mach-exynos/platsmp.c | 1 - arch/arm/mach-exynos/pm.c | 1 - arch/arm/mach-exynos/pmu.c | 1 - 7 files changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index 277a83e..ff28334 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -14,6 +14,7 @@ #include #include +#include "regs-pmu.h" void exynos_init_io(void); void exynos_restart(enum reboot_mode mode, const char *cmd); diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index b530231..b9dd8c3 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -29,7 +29,6 @@ #include #include "common.h" -#include "regs-pmu.h" #define REG_DIRECTGO_ADDR (samsung_rev() == EXYNOS4210_REV_1_1 ? \ S5P_INFORM7 : (samsung_rev() == EXYNOS4210_REV_1_0 ? \ diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 57bd1cd..a5e1349 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -30,7 +30,6 @@ #include "common.h" #include "mfc.h" -#include "regs-pmu.h" #include "regs-sys.h" #define L2_AUX_VAL 0x7C470001 diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c index 5eead53..33db6ee 100644 --- a/arch/arm/mach-exynos/hotplug.c +++ b/arch/arm/mach-exynos/hotplug.c @@ -22,7 +22,6 @@ #include #include "common.h" -#include "regs-pmu.h" static inline void cpu_enter_lowpower_a9(void) { diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c index d8d1555..3ebb03f 100644 --- a/arch/arm/mach-exynos/platsmp.c +++ b/arch/arm/mach-exynos/platsmp.c @@ -29,7 +29,6 @@ #include #include "common.h" -#include "regs-pmu.h" extern void exynos4_secondary_startup(void); diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index 723c988..875151f 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -34,7 +34,6 @@ #include #include "common.h" -#include "regs-pmu.h" #include "regs-sys.h" /** diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c index 05c7ce1..fb44352 100644 --- a/arch/arm/mach-exynos/pmu.c +++ b/arch/arm/mach-exynos/pmu.c @@ -16,7 +16,6 @@ #include #include "common.h" -#include "regs-pmu.h" static const struct exynos_pmu_conf *exynos_pmu_config;