Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932362Ab3EBPQj (ORCPT ); Thu, 2 May 2013 11:16:39 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:60085 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760158Ab3EBPQg (ORCPT ); Thu, 2 May 2013 11:16:36 -0400 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , "Rafael J. Wysocki" , Daniel Lezcano , linux-pm@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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 35 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 --- 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. -- 1.8.1.2 -- 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/