Skip to contentSkip to conversation

cpufreq: kirkwood: Select CPU_FREQ_TABLE option

PATCH New Ezequiel Garcia 3 participants 3 messages Jun 4, 2013 – Jun 5, 2013 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: kirkwood: Select CPU_FREQ_TABLE option

We need to select CPU_FREQ_TABLE in order to build without this kind of errors:

drivers/built-in.o: In function `kirkwood_cpufreq_cpu_exit':
/home/zeta/linux-devel/marvell-legacy/drivers/cpufreq/kirkwood-cpufreq.c:145:
undefined reference to `cpufreq_frequency_table_put_attr'

---
 drivers/cpufreq/Kconfig.arm | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/Kconfig.arm +1 -0
index 6e57543..a2f0f08 100644
@@ -86,6 +86,7 @@ config ARM_INTEGRATOR
 
 config ARM_KIRKWOOD_CPUFREQ
 	def_bool ARCH_KIRKWOOD && OF
+	select CPU_FREQ_TABLE
 	help
 	  This adds the CPUFreq driver for Marvell Kirkwood
 	  SoCs.
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 cpufreq: kirkwood: Select CPU_FREQ_TABLE option

Quoted 11 lines · Ezequiel Garcia

We need to select CPU_FREQ_TABLE in order to build without this kind of errors:

drivers/built-in.o: In function `kirkwood_cpufreq_cpu_exit':
/home/zeta/linux-devel/marvell-legacy/drivers/cpufreq/kirkwood-cpufreq.c:145:
undefined reference to `cpufreq_frequency_table_put_attr'

---
 drivers/cpufreq/Kconfig.arm | 1 +
 1 file changed, 1 insertion(+)

Hmm, I could've sworn I saw a patch for this floating around...

At any rate,

thx,

Jason.

maintainer
#2 lore raw

PATCH 1/1 cpufreq: kirkwood: Select CPU_FREQ_TABLE option

In reply to Ezequiel Garcia
Quoted 11 lines · Ezequiel Garcia

We need to select CPU_FREQ_TABLE in order to build without this kind of errors:

drivers/built-in.o: In function `kirkwood_cpufreq_cpu_exit':
/home/zeta/linux-devel/marvell-legacy/drivers/cpufreq/kirkwood-cpufreq.c:145:
undefined reference to `cpufreq_frequency_table_put_attr'

---
 drivers/cpufreq/Kconfig.arm | 1 +
 1 file changed, 1 insertion(+)

Check Maintainers to see list of people and lists you need to cc for cpufreq stuff.

Anyway, Applied to cpufreq-next now.