From patchwork Sun May 19 19:27:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafa? Bilski X-Patchwork-Id: 2590391 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0F58DDF24C for ; Sun, 19 May 2013 19:50:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754178Ab3ESTuI (ORCPT ); Sun, 19 May 2013 15:50:08 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.206]:34728 "EHLO smtpo.poczta.interia.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754167Ab3ESTuH (ORCPT ); Sun, 19 May 2013 15:50:07 -0400 X-Greylist: delayed 1315 seconds by postgrey-1.27 at vger.kernel.org; Sun, 19 May 2013 15:50:07 EDT Received: from elke.localdomain (cpc32-shep11-2-0-cust37.8-3.cable.virginmedia.com [81.105.1.38]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Sun, 19 May 2013 21:28:06 +0200 (CEST) From: Rafal Bilski To: "Rafael J. Wysocki" , Viresh Kumar Cc: cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, Rafal Bilski Subject: [PATCH] e_powersaver: Fix linker error when ACPI processor is a module Date: Sun, 19 May 2013 20:27:55 +0100 Message-Id: <1368991675-1711-1-git-send-email-rafalbilski@interia.pl> X-Mailer: git-send-email 1.8.2.3 X-Interia-Antivirus: OK X-IPL-SAS-SPAS: 0.4000000954 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1368991688; bh=CmtFERhS/J51ca1lUBaiu8fLl1cpts9Wc4l5eQPi1Qg=; h=Received:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer: X-Interia-Antivirus:X-IPL-SAS-SPAS; b=Z+qwHPnhPZPbtxVp5IvH43K1j/zXMraerreOANVruys2FEj493GzMTVcwJc8aInW9 EjaTEzqslpz+cNjmuugCdRQJetBZz0fP5rNCNhPOzbN+lHUd6mbTgaWapMPAC8xMBV setkmpj+yAL/YF8wMII6LLK75yMtpI+47MsJloYo= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org on i386: CONFIG_ACPI_PROCESSOR=m CONFIG_X86_E_POWERSAVER=y drivers/built-in.o: In function `eps_cpu_init.part.8': e_powersaver.c:(.text.unlikely+0x2243): undefined reference to `acpi_processor_register_performance' e_powersaver.c:(.text.unlikely+0x22a2): undefined reference to `acpi_processor_unregister_performance' e_powersaver.c:(.text.unlikely+0x246b): undefined reference to `acpi_processor_get_bios_limit' X86_E_POWERSAVER should also depend on ACPI_PROCESSOR. Signed-off-by: Rafal Bilski Acked-by: Viresh Kumar --- drivers/cpufreq/Kconfig.x86 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index 2b8a8c3..6bd63d6 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 @@ -272,7 +272,7 @@ config X86_LONGHAUL config X86_E_POWERSAVER tristate "VIA C7 Enhanced PowerSaver (DANGEROUS)" select CPU_FREQ_TABLE - depends on X86_32 + depends on X86_32 && ACPI_PROCESSOR help This adds the CPUFreq driver for VIA C7 processors. However, this driver does not have any safeguards to prevent operating the CPU out of spec