From patchwork Thu May 2 15:16:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2512261 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 26B2EDF215 for ; Thu, 2 May 2013 15:17:36 +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 1UXvFr-0000QH-EJ; Thu, 02 May 2013 15:17:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvFc-0002NT-3S; Thu, 02 May 2013 15:16:52 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvFJ-0002Hs-Jt for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2013 15:16:35 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0M7R4t-1ULUxH17Jf-00xL5I; Thu, 02 May 2013 17:16:12 +0200 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Subject: [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND Date: Thu, 2 May 2013 17:16:07 +0200 Message-Id: <1367507786-505303-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367507786-505303-1-git-send-email-arnd@arndb.de> References: <1367507786-505303-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:COQs+pOPh7gN0eC25C9eDAP8TgIyJMTRv6iEaTxRm9q +QUp+gWGEG68vVEI6PMrDri/GD+hyFlv8thc8mcR8EpvYCuRy4 pRgxFdZRW7dIdy4UzfREJtBGtrLstYL8ZNlRW3L1m6AWTMlDeW 7p9JC6hByUk3p+WFAg44+JEQ79gJQchfg+mqfYiUrOImyKhGc5 9cwuKlLIZsYLmTDUzgZH8656K1R6fYYBU8Bi8ZY0/hRKHVJr0E ccqZfK+GagFeXjDbNq8H4Ziy8dYn+kQmYbwX0z7dJ3+SNVomYR 0FLYOH15ZYULgBOHu5OMPospjZ0tHnGlUwV4Xg2PSa45n0alGu 7/wVKYVIP/g4Xecg9OcfsBzwx3ZUO6KaVN3Ua4dK5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130502_111633_886705_269A03D0 X-CRM114-Status: UNSURE ( 7.81 ) X-CRM114-Notice: Please train this message. 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 ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.186 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: "Rafael J. Wysocki" , Daniel Lezcano , Arnd Bergmann , 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 Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND, as shown by this linker error: drivers/built-in.o: In function `calxeda_pwrdown_idle': drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend' drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume' Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: linux-pm@vger.kernel.org Signed-off-by: Arnd Bergmann Acked-by: Daniel Lezcano Acked-by: Rob Herring --- drivers/cpuidle/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index c4cc27e..e21cdfa 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig @@ -36,6 +36,7 @@ if CPU_IDLE config CPU_IDLE_CALXEDA bool "CPU Idle Driver for Calxeda processors" depends on ARCH_HIGHBANK + select ARM_CPU_SUSPEND help Select this to enable cpuidle on Calxeda processors.