From patchwork Fri May 24 22:01:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 2612381 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 67344DF24C for ; Fri, 24 May 2013 22:01:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755870Ab3EXWBu (ORCPT ); Fri, 24 May 2013 18:01:50 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:49365 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753156Ab3EXWBt (ORCPT ); Fri, 24 May 2013 18:01:49 -0400 Received: by mail-pb0-f53.google.com with SMTP id un4so4682776pbc.40 for ; Fri, 24 May 2013 15:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=fJuLT1xVAPH5ue3YsHBQ/xa3IRCX2u3+TRHItMvc1tI=; b=AYkEv01Nvck+kikfiw9HhCWHPOBbJPv2wYNcG0akQ+ND8Hbkie/rKpHX9y8kVfw5sm jBUdQ6TWAVWf6bz2L/fYeTPX347AoQqWDmiyRsuKXE/P4uZrdjV890DvsXS9zakPdyG2 wHlVS7Oxh8yV1QyZ8/yXy1JU1pDE8buxXoJhFOBXy37b4DMjJOYZ9G/sG77QEY3u2Bbu u+7wbGiNxixlb11Y1raTJsEl3GVD5T84tDe1JJkGcUjJipn0ggEKPIittfatMDE3uf9q X8gMuGjqnPqV8EHn0JKOspWQDGGmYrkBAuwyu2LbaRSlJ4hvL/BcRAoibuNl91P4flR4 H9dA== X-Received: by 10.66.166.171 with SMTP id zh11mr10436446pab.189.1369432909372; Fri, 24 May 2013 15:01:49 -0700 (PDT) Received: from [10.211.55.6] ([121.137.23.17]) by mx.google.com with ESMTPSA id 3sm17645726pbj.46.2013.05.24.15.01.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 24 May 2013 15:01:47 -0700 (PDT) Message-ID: <519FE349.7050208@samsung.com> Date: Sat, 25 May 2013 07:01:45 +0900 From: Kukjin Kim User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16 MIME-Version: 1.0 To: Jingoo Han CC: 'Kukjin Kim' , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: EXYNOS: add PM dependency to PM_GENERIC_DOMAINS for Exynos4210 References: <001a01ce5041$1b9ddd30$52d99790$@samsung.com> In-Reply-To: <001a01ce5041$1b9ddd30$52d99790$@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org On 05/14/13 10:19, Jingoo Han wrote: > 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) If so, PLAT_S3C64XX should be fixed together. > 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 > --- > arch/arm/mach-exynos/Kconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig > index d19edff..1f7ddb2 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 --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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