From patchwork Wed Jun 5 12:38:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2669591 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 532DF40077 for ; Wed, 5 Jun 2013 12:38:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752388Ab3FEMi6 (ORCPT ); Wed, 5 Jun 2013 08:38:58 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:62130 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752014Ab3FEMi6 (ORCPT ); Wed, 5 Jun 2013 08:38:58 -0400 Received: from wuerfel.localnet (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Le9EG-1U3PWi3StI-00qVHN; Wed, 05 Jun 2013 14:38:28 +0200 From: Arnd Bergmann To: linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano , linux-arm-kernel@lists.infradead.org Subject: [PATCH] cpuidle: move ARCH_NEEDS_CPU_IDLE_COUPLED Kconfig option Date: Wed, 05 Jun 2013 14:38:30 +0200 Message-ID: <1460854.rT4b7LefMM@wuerfel> User-Agent: KMail/4.10.3 (Linux/3.9.0-2-generic; KDE/4.10.3; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V02:K0:mFLPg0Z2Nb2tb/Vjoo1p0NTViJ/9hcz1v+J1dtF+gzZ HBR9ki5W4Hb49VLi6IdYn11L4AaB8QjY2/0C95pVbw59+WGk0J ZHg15KrvaSQXzZ2Xc1OmgatRkukbDCOcrT21fVAg/xCXbnSXnm EtBo/EfPKkp2kZN7LxpA5QInK2paDyFKI4hqqK/Y63ru9Ysywm 7XscINgyUKCG7dTR/vzW0Rlc/8NZZwMwD4aW1Bi1xsqSOw3Uyl CrlptS8GT6Nb9TFx7Qy7K2lNNEPhVvE8mdq+YkM4cNbTb/lphJ FMtOjzahVRhzThAboM6ajQbpvtmXdxVwCfYsojvWdaFjL/67K5 i+fB/CqVH4thoHRrNfkc= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org There is no reason why ARCH_NEEDS_CPU_IDLE_COUPLED needs to be hidden inside of "if CPU_IDLE", since it is a silent option. Moving it outside lets platforms select this symbol unconditionally, which avoid a warning from the ARM omap2plus_defconfig build: warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED which has unmet direct dependencies (CPU_IDLE) Signed-off-by: Arnd Bergmann Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: linux-pm@vger.kernel.org --- To unsubscribe from this list: send the line "unsubscribe linux-pm" 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/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index f4511e6..2caddb0 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig @@ -29,9 +29,6 @@ config CPU_IDLE_GOV_MENU bool "Menu governor (for tickless system)" default y -config ARCH_NEEDS_CPU_IDLE_COUPLED - def_bool n - config CPU_IDLE_CALXEDA bool "CPU Idle Driver for Calxeda processors" depends on ARCH_HIGHBANK @@ -39,3 +36,6 @@ config CPU_IDLE_CALXEDA help Select this to enable cpuidle on Calxeda processors. endif + +config ARCH_NEEDS_CPU_IDLE_COUPLED + def_bool n