From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sedat Dilek Subject: Re: [PATCH -next] thermal: cpu_cooling.c needs to select CPU_FREQ_TABLE Date: Thu, 13 Sep 2012 11:03:10 +0200 Message-ID: References: <20120912184644.48e4e2e7d59b12893a42f60a@canb.auug.org.au> <5050CF0E.3080502@xenotime.net> Reply-To: sedat.dilek@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:48724 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339Ab2IMJDN (ORCPT ); Thu, 13 Sep 2012 05:03:13 -0400 In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: Amit Kachhap Cc: Randy Dunlap , Stephen Rothwell , linux-next@vger.kernel.org, LKML , Len Brown , Andrew Morton On Thu, Sep 13, 2012 at 10:46 AM, Amit Kachhap wrote: > On 13 September 2012 03:06, Randy Dunlap wrote: >> From: Randy Dunlap >> >> cpu_cooling.c (CONFIG_CPU_THERMAL) uses cpu frequency table >> intefaces so it should select CPU_FREQ_TABLE. >> Fixes these build errors: >> >> drivers/built-in.o: In function `cpufreq_get_max_state': >> cpu_cooling.c:(.text+0x4e1297): undefined reference to `cpufreq_frequency_get_table' >> drivers/built-in.o: In function `cpufreq_set_cur_state': >> cpu_cooling.c:(.text+0x4e138b): undefined reference to `cpufreq_frequency_get_table' >> >> Signed-off-by: Randy Dunlap >> Cc: Amit Daniel Feel free to add: Tested-by: Sedat Dilek >> --- >> drivers/thermal/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> Also, please add info in the MAINTAINERS file for drivers/thermal/. >> >> --- linux-next-20120912.orig/drivers/thermal/Kconfig >> +++ linux-next-20120912/drivers/thermal/Kconfig >> @@ -22,6 +22,7 @@ config THERMAL_HWMON >> config CPU_THERMAL >> bool "generic cpu cooling support" >> depends on THERMAL && CPU_FREQ >> + select CPU_FREQ_TABLE > > This change looks good to me. Even similar select is present platform > cpufreq drivers which uses the cpufreq API's. > > Thanks, > Amit Daniel >> help >> This implements the generic cpu cooling mechanism through frequency >> reduction, cpu hotplug and any other ways of reducing temperature. An > -- > To unsubscribe from this list: send the line "unsubscribe linux-next" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html