Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759872Ab3EGVmM (ORCPT ); Tue, 7 May 2013 17:42:12 -0400 Received: from mail-qe0-f44.google.com ([209.85.128.44]:37764 "EHLO mail-qe0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752601Ab3EGVmK (ORCPT ); Tue, 7 May 2013 17:42:10 -0400 Message-ID: <5189752F.8030405@gmail.com> Date: Tue, 07 May 2013 16:42:07 -0500 From: Rob Herring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Arnd Bergmann CC: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: Re: [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND References: <1367507786-505303-1-git-send-email-arnd@arndb.de> <1367507786-505303-4-git-send-email-arnd@arndb.de> In-Reply-To: <1367507786-505303-4-git-send-email-arnd@arndb.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 38 On 05/02/2013 10:16 AM, Arnd Bergmann wrote: > 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: 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. > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/