From patchwork Mon May 27 02:05:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2617201 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 319A53FD4E for ; Mon, 27 May 2013 02:05: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 1Ugmod-0004XI-2g; Mon, 27 May 2013 02:05:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ugmoa-00057V-Hu; Mon, 27 May 2013 02:05:36 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UgmoV-000571-DS for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2013 02:05:34 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MNF006IJPS4HFF0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2013 11:05:04 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 70.FD.11618.05FB2A15; Mon, 27 May 2013 11:05:04 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-68-51a2bf50df70 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 1B.D6.28381.F4FB2A15; Mon, 27 May 2013 11:05:04 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MNF00CB3PSFBD60@mmp2.samsung.com>; Mon, 27 May 2013 11:05:03 +0900 (KST) From: Jingoo Han To: 'Kukjin Kim' Subject: [PATCH V2] ARM: EXYNOS: add PM dependency to PM_GENERIC_DOMAINS Date: Mon, 27 May 2013 11:05:03 +0900 Message-id: <000501ce5a7e$9a2b4830$ce81d890$@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac5afn3dpBnxJ4PgSGe6nOQ4zKiYEQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsVy+t8zI92A/YsCDSa94rS4vPASq0Xvgqts FpseX2O1uLxrDpvFjPP7mBxYPTYvqffo27KK0ePzJrkA5igum5TUnMyy1CJ9uwSujFdrDrMX TBCpODvJoIHxqGAXIyeHhICJxPNd21ghbDGJC/fWs4HYQgLLGCW2r7WHqem8sp4FIj6dUeLY 8+guRi4g+xejxPrLf8Ea2ATUJL58OcwOYosIaEg83X2EEaSIWaCXUeLbhKdgCWEBD4m+u2fA GlgEVCXmnOgCs3kFLCUe71zDDGELSvyYfA9sG7OAlsT6nceZIGx5ic1r3jJDXKQgsePsa0aI ZXoSL7fuhqoXkdj34h0jRM06dol/7ZYQuwQkvk0+BFTDARSXldh0AGqMpMTBFTdYJjCKzUKy eRaSzbOQbJ6FZMMCRpZVjKKpBckFxUnpRaZ6xYm5xaV56XrJ+bmbGCERNnEH4/0D1ocYk4HW T2SWEk3OB0ZoXkm8obGZkYWpiamxkbmlGWnCSuK86i3WgUIC6YklqdmpqQWpRfFFpTmpxYcY mTg4pRoYWRw2fnrav3PLE/tQgeWblBo3B1Z0PO+/7TPh3sfNVgFPjvkuZbxR58R6IqD0yb6b FzdUftz6pdjr/oe9SodLXSuvLD2x4aJo4qa4FWvOrvQpszBWebhyDhNTk9cc47ncLzYdn9HB p6F/oUzHRXW/m7CZ2r93bZ8b9h/QmX7aTGSb6xz/rEK5y0osxRmJhlrMRcWJAGhK7QPGAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRmVeSWpSXmKPExsVy+t9jQd2A/YsCDSb/ZbG4vPASq0Xvgqts FpseX2O1uLxrDpvFjPP7mBxYPTYvqffo27KK0ePzJrkA5qgGRpuM1MSU1CKF1Lzk/JTMvHRb Je/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wcoJVKCmWJOaVAoYDE4mIlfTtME0JD3HQt YBojdH1DguB6jAzQQMI6xoxXaw6zF0wQqTg7yaCB8ahgFyMnh4SAiUTnlfUsELaYxIV769lA bCGB6YwSx55HdzFyAdm/GCXWX/4LlmATUJP48uUwO4gtIqAh8XT3EUaQImaBXkaJbxOegiWE BTwk+u6eAWtgEVCVmHOiC8zmFbCUeLxzDTOELSjxY/I9sM3MAloS63ceZ4Kw5SU2r3nLDHGR gsSOs68ZIZbpSbzcuhuqXkRi34t3jBMYBWYhGTULyahZSEbNQtKygJFlFaNoakFyQXFSeq6h XnFibnFpXrpecn7uJkZwDD+T2sG4ssHiEKMAB6MSD++PWYsChVgTy4orcw8xSnAwK4nwJkQD hXhTEiurUovy44tKc1KLDzEmA306kVlKNDkfmF7ySuINjU3MjCyNzCyMTMzNSRNWEuc90God KCSQnliSmp2aWpBaBLOFiYNTqoGRaaPWqSNyLldZSx49u19WybNtu86/r/NbH7/fZ5wXMuGA Zd68SaXvF63Udl318s6KhJA3vb7xfpN8yoTLM21stAReGGvaHpkg4DlheXvkmmnHp3Cu+7n/ Ic9ndtaj0m0Lv2/5eF2Uo+f/xZZNzFXXdwWvqlP98+uSoG45i5nnLKOSql3F3kkflFiKMxIN tZiLihMBDojNVSUDAAA= 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-20130526_220531_674866_ED44C9A0 X-CRM114-Status: GOOD ( 10.97 ) X-Spam-Score: -8.0 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-8.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 T_HDRS_LCASE Odd capitalization of message header 0.0 T_MANY_HDRS_LCASE Odd capitalization of multiple message headers Cc: Jingoo Han , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org PM_GENERIC_DOMAINS needs PM dependency. Fixed build warning as below: warning: (PLAT_S3C64XX && CPU_EXYNOS4210) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM) warning: (PLAT_S3C64XX && CPU_EXYNOS4210) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM) arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] drivers/base/power/domain.c: In function '__pm_genpd_add_device': drivers/base/power/domain.c:1422:2: error: implicit declaration of function 'genpd_acquire_lock' [-Werror=implicit-function-declaration] drivers/base/power/domain.c:1466:2: error: implicit declaration of function 'genpd_release_lock' [-Werror=implicit-function-declaration] drivers/base/power/domain.c: In function 'pm_genpd_add_subdomain': drivers/base/power/domain.c:1649:3: error: implicit declaration of function 'genpd_sd_counter_inc' [-Werror=implicit-function-declaration] drivers/base/power/domain.c: In function 'pm_genpd_remove_subdomain': drivers/base/power/domain.c:1721:4: error: implicit declaration of function 'genpd_sd_counter_dec' [-Werror=implicit-function-declaration] drivers/base/power/domain.c: In function 'pm_genpd_attach_cpuidle': drivers/base/power/domain.c:1887:2: error: implicit declaration of function 'genpd_recalc_cpu_exit_latency' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Signed-off-by: Jingoo Han --- Changes since v1: - Fixed PLAT_S3C64XX together as Kukjin Kim mentioned arch/arm/mach-exynos/Kconfig | 2 +- arch/arm/mach-s3c64xx/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 6e77432..352e8d0 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -34,7 +34,7 @@ config CPU_EXYNOS4210 default y depends on ARCH_EXYNOS4 select ARM_CPU_SUSPEND if PM - select PM_GENERIC_DOMAINS + select PM_GENERIC_DOMAINS if PM select S5P_PM if PM select S5P_SLEEP if PM select SAMSUNG_DMADEV diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig index 2057853..c04c4ee 100644 --- a/arch/arm/mach-s3c64xx/Kconfig +++ b/arch/arm/mach-s3c64xx/Kconfig @@ -8,7 +8,7 @@ config PLAT_S3C64XX bool depends on ARCH_S3C64XX default y - select PM_GENERIC_DOMAINS + select PM_GENERIC_DOMAINS if PM select SAMSUNG_WAKEMASK help Base platform code for any Samsung S3C64XX device