aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-11-18 04:48:22 -0500
committerBryan Wu <cooloney@kernel.org>2008-11-18 04:48:22 -0500
commit5ad2ca5fbbb002e48097b2ab364497d0f9f77987 (patch)
tree871ab48b2d033609a7e0ce7eed761fd83ca42592 /arch/blackfin/Kconfig
parent9b78442fadc1d0319f77437c811fe53398822602 (diff)
Blackfin arch: Fix BUG - Kernel does not link when CONFIG_CPU_FREQ_STAT=m
to reproduce: $ make BF537-STAMP_defconfig $ make menuconfig CPU Frequency scaling ---> [*] CPU Frequency scaling <M> CPU frequency translation statistics $ make arch/blackfin/mach-common/built-in.o: In function `bfin_target': arch/blackfin/mach-common/cpufreq.c:(.text+0xf1e): undefined reference to `cpufreq_frequency_table_target' arch/blackfin/mach-common/built-in.o: In function `bfin_verify_speed': arch/blackfin/mach-common/cpufreq.c:(.text+0x1056): undefined reference to `cpufreq_frequency_table_verify' arch/blackfin/mach-common/built-in.o: In function `__bfin_cpu_init': arch/blackfin/mach-common/cpufreq.c:(.init.text+0x554): undefined reference to `cpufreq_frequency_table_get_attr' arch/blackfin/mach-common/cpufreq.c:(.init.text+0x56a): undefined reference to `cpufreq_frequency_table_cpuinfo' arch/blackfin/mach-common/built-in.o: In function `sys_call_table': (.data+0x83c): undefined reference to `cpufreq_freq_attr_scaling_available_freqs' make: *** [.tmp_vmlinux1] Error 1 Blackfin wants CPU_FREQ_TABLE Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 1f31ea74ce9b..e0adb8632d89 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -1102,6 +1102,12 @@ menu "CPU Frequency scaling"
1102 1102
1103source "drivers/cpufreq/Kconfig" 1103source "drivers/cpufreq/Kconfig"
1104 1104
1105config BFIN_CPU_FREQ
1106 bool
1107 depends on CPU_FREQ
1108 select CPU_FREQ_TABLE
1109 default y
1110
1105config CPU_VOLTAGE 1111config CPU_VOLTAGE
1106 bool "CPU Voltage scaling" 1112 bool "CPU Voltage scaling"
1107 depends on EXPERIMENTAL 1113 depends on EXPERIMENTAL