From patchwork Mon Apr 28 12:20:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 4076991 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 146A29F271 for ; Mon, 28 Apr 2014 12:02:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA38420274 for ; Mon, 28 Apr 2014 12:02:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0570F20251 for ; Mon, 28 Apr 2014 12:02:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754195AbaD1MCX (ORCPT ); Mon, 28 Apr 2014 08:02:23 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:17351 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755620AbaD1MCT (ORCPT ); Mon, 28 Apr 2014 08:02:19 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4Q006TTPFUKK10@mailout3.samsung.com>; Mon, 28 Apr 2014 21:02:18 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id D8.CE.11496.9434E535; Mon, 28 Apr 2014 21:02:17 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-ec-535e4349f2ea Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5C.A5.27725.9434E535; Mon, 28 Apr 2014 21:02:17 +0900 (KST) Received: from localhost.localdomain ([12.36.165.191]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N4Q00CUIPFOY210@mmp2.samsung.com>; Mon, 28 Apr 2014 21:02:17 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kgene.kim@samsung.com, linux@arm.linux.org.uk, t.figa@samsung.com, chow.kim@samsung.com, yg1004.jang@samsung.com, vikas.sajjan@samsung.com, b.zolnierkie@samsung.com, Pankaj Dubey , Sangbeom Kim , Samuel Ortiz , Lee Jones Subject: [RESUBMIT RFC PATCH v2 2/3] ARM: EXYNOS: Move pmu specific header files under "linux/mfd/samsung" Date: Mon, 28 Apr 2014 21:20:06 +0900 Message-id: <1398687607-4554-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1398687607-4554-1-git-send-email-pankaj.dubey@samsung.com> References: <1398687607-4554-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsVy+t8zA11P57hgg81vrSw2zljParFs0l02 i94FV9ks7n89ymix6fE1VovLu+awWcw4v4/J4vZlXotFW7+wW5zuZrW4uOILk8X6Ga9ZLG4+ 285ksaNlNYsDn0dLcw+bx51re9g85p0M9Ni8pN6jb8sqRo/Pm+QC2KK4bFJSczLLUov07RK4 Mg6s3s9acE+9YsrPXSwNjM8Vuhg5OSQETCQ2nb/EAmGLSVy4t56ti5GLQ0hgGaNE57XLzDBF h76eZQSxhQSmM0pc/5QLUdTGJNEzewETSIJNQFfiyfu5YA0iAtkSVxrvM4MUMQscZZI42v4R rFtYIEfi0/GDQAkODhYBVYn1f8VAwrwC7hJ3//ayg4QlBBQk5kyyAQlzCnhIrL74hA1ir7tE x4JrYC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Ot1oFCAumJJanZqakFqUUwW5g4OKUaGD2fCDWJ xya+e75xSnix/n15hRWTj0wz6D67pb1ieX7y1+ZJPYWKypI5WZNfCm+ZFVT9rm+W86eQ2l/C rBt+Tpi9qalYaEbiJqXwiRvDWaa4MQTcu57y/8q9WWJWzB7epzdd2n0tu8i7bk3vgSMv713b KVO98Dd/a/uNq0cnrk9n0PrAorQ1hUWJpTgj0VCLuag4EQAJwMfgCQMAAA== 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 Moving Exynos PMU specific header file into "include/linux/mfd/samsung" thus updated affected files under "mach-exynos" to use new location of these header files. CC: Sangbeom Kim CC: Samuel Ortiz CC: Lee Jones Signed-off-by: Pankaj Dubey Acked-by: Lee Jones --- arch/arm/mach-exynos/cpuidle.c | 4 ++-- arch/arm/mach-exynos/exynos.c | 2 +- arch/arm/mach-exynos/hotplug.c | 2 +- arch/arm/mach-exynos/platsmp.c | 2 +- arch/arm/mach-exynos/pm.c | 4 ++-- arch/arm/mach-exynos/pmu.c | 5 ++--- {arch/arm/mach-exynos => include/linux/mfd/samsung}/exynos-pmu.h | 0 .../regs-pmu.h => include/linux/mfd/samsung/exynos-regs-pmu.h | 0 8 files changed, 9 insertions(+), 10 deletions(-) rename {arch/arm/mach-exynos => include/linux/mfd/samsung}/exynos-pmu.h (100%) rename arch/arm/mach-exynos/regs-pmu.h => include/linux/mfd/samsung/exynos-regs-pmu.h (100%) diff --git a/arch/arm/mach-exynos/exynos-pmu.h b/include/linux/mfd/samsung/exynos-pmu.h similarity index 100% rename from arch/arm/mach-exynos/exynos-pmu.h rename to include/linux/mfd/samsung/exynos-pmu.h diff --git a/arch/arm/mach-exynos/regs-pmu.h b/include/linux/mfd/samsung/exynos-regs-pmu.h similarity index 100% rename from arch/arm/mach-exynos/regs-pmu.h rename to include/linux/mfd/samsung/exynos-regs-pmu.h diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index ff3be9c..4c18087 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -18,6 +18,8 @@ #include #include #include +#include +#include #include #include @@ -31,8 +33,6 @@ #include #include "common.h" -#include "regs-pmu.h" -#include "exynos-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 b01987e..24c774a 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -32,7 +33,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 7831e64..1d3ad84 100644 --- a/arch/arm/mach-exynos/hotplug.c +++ b/arch/arm/mach-exynos/hotplug.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -22,7 +23,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 3831e6c..54c0df8 100644 --- a/arch/arm/mach-exynos/platsmp.c +++ b/arch/arm/mach-exynos/platsmp.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -29,7 +30,6 @@ #include #include "common.h" -#include "regs-pmu.h" extern void exynos4_secondary_startup(void); static void __iomem *pmu_base; diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index 103ab92..3e75565 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include #include @@ -35,9 +37,7 @@ #include #include "common.h" -#include "regs-pmu.h" #include "regs-sys.h" -#include "exynos-pmu.h" static struct regmap *pmu_regmap; diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c index d020557..a26332f 100644 --- a/arch/arm/mach-exynos/pmu.c +++ b/arch/arm/mach-exynos/pmu.c @@ -15,9 +15,8 @@ #include #include #include - -#include "exynos-pmu.h" -#include "regs-pmu.h" +#include +#include enum exynos_pmu_id { PMU_EXYNOS4210,