From patchwork Wed Apr 2 07:50:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 3926801 Return-Path: X-Original-To: patchwork-linux-arm@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 2F9CF9F2B6 for ; Wed, 2 Apr 2014 07:34:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 605D920220 for ; Wed, 2 Apr 2014 07:34:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61B1920240 for ; Wed, 2 Apr 2014 07:34:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVFgx-00008k-15; Wed, 02 Apr 2014 07:34:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVFgu-0002w4-CL; Wed, 02 Apr 2014 07:34:32 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVFgo-0002uM-Sn for linux-arm-kernel@lists.infradead.org; Wed, 02 Apr 2014 07:34:29 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3E00KRB7OPUH80@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 02 Apr 2014 16:34:01 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id FD.99.10364.96DBB335; Wed, 02 Apr 2014 16:34:01 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-07-533bbd691fcc Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4B.5B.29263.96DBB335; Wed, 02 Apr 2014 16:34:01 +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:01 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 04/10] ARM: EXYNOS: Remove regs-pmu.h file dependency from pm_domain Date: Wed, 02 Apr 2014 16:50:55 +0900 Message-id: <1396425058-4012-5-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+NgFnrPLMWRmVeSWpSXmKPExsVy+t8zI93MvdbBBis+a1osm3SXzaJ3wVU2 i02Pr7FaXN41h81ixvl9TBa3L/Na7GhZzeLA7tHS3MPmsXlJvUffllWMHp83yQWwRHHZpKTm ZJalFunbJXBlvDyzmq3gNnfFt99nmBsYP3N2MXJySAiYSLya8YMFwhaTuHBvPVsXIxeHkMAy Ronne1azwxQdefObHSKxiFFiSstnKKeNSeLr04usIFVsAroST97PZQaxRQSyJS7NugU2llmg WOLb6z6wGmGBMIlLu+YwgtgsAqoS62Y+BdvAK+Au8W3bVqB6DqBtChJzJtmAhDkFPCTut7SA lQgBlcy9sZMVZK+Ew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VfCJ+1Zxvamu3sa3Pi1n4uN3B/55cEb+6/N/atkT3eHAf2yX2pMdd4/uvfh/ m/PVVWHSKzmfXOlfu4Jbwi77+dWUGxubGG+szS/P1+qLvXwzxnzWmtw/iV5i/LbqnzS5K9nt zdg3B8Z0LWZL3apyoWHCv3qW3SamW1W2XKkP+KSkxFKckWioxVxUnAgA0o3nPN8CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140402_033427_129030_F06DE636 X-CRM114-Status: GOOD ( 10.84 ) X-Spam-Score: -7.5 (-------) Cc: chow.kim@samsung.com, Young-Gun Jang , kgene.kim@samsung.com, linux@arm.linux.org.uk X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 From: Young-Gun Jang Current "pm_domain.c" file uses "S5P_INT_LOCAL_PWR_EN" definition from "regs-pmu.h" and hence needs to include this header file. As there is no other user of "S5P_INT_LOCAL_PWR_EN" definition other than pm_domain, to remove "regs-pmu.h" header file dependency from "pm_domain.c" it's better we define this definition in "pm_domain.c" file itself and thus it will help in removing header file inclusion from "pm_domain.c". Signed-off-by: Young-Gun Jang --- arch/arm/mach-exynos/pm_domains.c | 2 +- arch/arm/mach-exynos/regs-pmu.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c index fe6570e..f676b0a 100644 --- a/arch/arm/mach-exynos/pm_domains.c +++ b/arch/arm/mach-exynos/pm_domains.c @@ -22,7 +22,7 @@ #include #include -#include "regs-pmu.h" +#define S5P_INT_LOCAL_PWR_EN 0x7 /* * Exynos specific wrapper around the generic power domain diff --git a/arch/arm/mach-exynos/regs-pmu.h b/arch/arm/mach-exynos/regs-pmu.h index 4ee706d..bfebe84 100644 --- a/arch/arm/mach-exynos/regs-pmu.h +++ b/arch/arm/mach-exynos/regs-pmu.h @@ -116,7 +116,6 @@ #define S5P_PAD_RET_EBIB_OPTION S5P_PMUREG(0x31A8) #define S5P_CORE_LOCAL_PWR_EN 0x3 -#define S5P_INT_LOCAL_PWR_EN 0x7 #define S5P_CHECK_SLEEP 0x00000BAD