From patchwork Tue Jun 11 08:09:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 2700421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 81C28DF23A for ; Tue, 11 Jun 2013 08:10:15 +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 1UmJef-0007gG-La; Tue, 11 Jun 2013 08:10:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UmJec-0005wn-Lb; Tue, 11 Jun 2013 08:10:10 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UmJeZ-0005v3-UW for linux-arm-kernel@lists.infradead.org; Tue, 11 Jun 2013 08:10:09 +0000 Received: by mail-wi0-f178.google.com with SMTP id k10so3853104wiv.17 for ; Tue, 11 Jun 2013 01:09:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=QsegPwykn4m9mkzyqeZITmvOVijK4xcp8bUQSpbKgQ0=; b=NbbpFRurxq31Kp9EBu9tUnWnXE5QooCk+Pp5WGEc04BiH3hibArkdX7Rup1xbENNm1 VWwGkWowr3TOYE60Hc+UkX8ccUh2gJWtgL7r/AbGmSYa4i5VREKunWwomtksRICmzhOG lIz17h5bP4/3GpnOdgx0MxXpxggmySs53OnzXxtiBHFmnO/QiJA9bfCjXX4wbChi3UsA fWunwR8l4o07bLbjmdCujCluW1iUwAHFvpP5YoV5NK01QRYbkSlcLNRRNv7ODKP7icRL EFonWwScpk6YoOf/KNpeYcvhYbc5tyN1EiHWh8AhwMdP86tqPAjjpnYq+a/M19uIjQq/ 6eNA== X-Received: by 10.180.206.70 with SMTP id lm6mr466511wic.50.1370938185710; Tue, 11 Jun 2013 01:09:45 -0700 (PDT) Received: from mai.home (AToulouse-654-1-404-219.w82-125.abo.wanadoo.fr. [82.125.3.219]) by mx.google.com with ESMTPSA id o14sm16045873wiv.3.2013.06.11.01.09.43 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 01:09:44 -0700 (PDT) From: Daniel Lezcano To: rjw@rjwysocki.net Subject: [PATCH] cpuidle: Fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning Date: Tue, 11 Jun 2013 10:09:45 +0200 Message-Id: <1370938185-5019-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkntPMUMonaG/HFPyQlHPxJMYMjywBJfBN8/0mk5poxSuG3sMOXZ00eGdemfQ3iIFqPvMxr X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130611_041008_132840_9A2438A6 X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: ccross@android.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Before the commit d6f346f2d2bf511c2c59176121a6e42ce60173a0, the ARCH_NEEDS_CPU_IDLE_COUPLED option was not depending on the CPU_IDLE but now it has been moved under the CPU_IDLE menuconfig option. That raises the following warnings: warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED which has unmet direct dependencies (CPU_IDLE) warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED which has unmet direct dependencies (CPU_IDLE) The tegra2 and omap4 Kconfig files select this option but without checking CPU_IDLE is set. Fix that by moving the option out of the CPU_IDLE option. Signed-off-by: Daniel Lezcano --- drivers/cpuidle/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index a7d2e83..81de5d9 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 @@ -45,3 +42,6 @@ config CPU_IDLE_ZYNQ Select this to enable cpuidle on Xilinx Zynq processors. endif + +config ARCH_NEEDS_CPU_IDLE_COUPLED + def_bool n