linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: bit.LITTLE needs cpufreq table
@ 2013-06-03 21:41 Arnd Bergmann
  2013-06-04  4:42 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2013-06-03 21:41 UTC (permalink / raw)
  To: linux-arm-kernel

Like a lot of the other cpufreq drivers, this one needs to
select CONFIG_CPU_FREQ_TABLE to avoid a build error like

built-in.o: In function `bL_cpufreq_set_target':
cpufreq/arm_big_little.c:71: undefined reference to `cpufreq_frequency_table_target'
built-in.o: In function `bL_cpufreq_verify_policy':
cpufreq/arm_big_little.c:55: undefined reference to `cpufreq_frequency_table_verify'
built-in.o: In function `bL_cpufreq_init':
cpufreq/arm_big_little.c:170: undefined reference to `cpufreq_frequency_table_cpuinfo'
cpufreq/arm_big_little.c:178: undefined reference to `cpufreq_frequency_table_get_attr'
built-in.o:(.data+0x5a80c): undefined reference to `cpufreq_freq_attr_scaling_available_freqs'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Viresh Kumar <viresh.kumar@linaro.org>

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index d3f2c6b..d1486d4 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -5,6 +5,7 @@
 config ARM_BIG_LITTLE_CPUFREQ
 	tristate "Generic ARM big LITTLE CPUfreq driver"
 	depends on ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK
+	select CPU_FREQ_TABLE
 	help
 	  This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] cpufreq: bit.LITTLE needs cpufreq table
  2013-06-03 21:41 [PATCH] cpufreq: bit.LITTLE needs cpufreq table Arnd Bergmann
@ 2013-06-04  4:42 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2013-06-04  4:42 UTC (permalink / raw)
  To: linux-arm-kernel

On 4 June 2013 03:11, Arnd Bergmann <arnd@arndb.de> wrote:
> Like a lot of the other cpufreq drivers, this one needs to
> select CONFIG_CPU_FREQ_TABLE to avoid a build error like
>
> built-in.o: In function `bL_cpufreq_set_target':
> cpufreq/arm_big_little.c:71: undefined reference to `cpufreq_frequency_table_target'
> built-in.o: In function `bL_cpufreq_verify_policy':
> cpufreq/arm_big_little.c:55: undefined reference to `cpufreq_frequency_table_verify'
> built-in.o: In function `bL_cpufreq_init':
> cpufreq/arm_big_little.c:170: undefined reference to `cpufreq_frequency_table_cpuinfo'
> cpufreq/arm_big_little.c:178: undefined reference to `cpufreq_frequency_table_get_attr'
> built-in.o:(.data+0x5a80c): undefined reference to `cpufreq_freq_attr_scaling_available_freqs'
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Rafael J. Wysocki <rjw@sisk.pl>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-04  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 21:41 [PATCH] cpufreq: bit.LITTLE needs cpufreq table Arnd Bergmann
2013-06-04  4:42 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).