]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: kirkwood: Select CPU_FREQ_TABLE option
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 4 Jun 2013 17:03:18 +0000 (14:03 -0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 7 Jun 2013 11:03:36 +0000 (16:33 +0530)
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'

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/Kconfig.arm

index 1ed171db8fe6cfb31344e6420efa86294275295c..5c7c2e1645b4877656c4b1e619652a0af3a3b7cf 100644 (file)
@@ -87,6 +87,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.