diff options
| author | David Rientjes <[email protected]> | 2012-10-15 20:40:15 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-10-15 21:00:07 +0000 |
| commit | dd8e8c4a2c902d8350b702e7bc7c2799e5e7e331 (patch) | |
| tree | 7c5d21d72e87be13974b695baf061910bbc410ee /security/selinux/hooks.c | |
| parent | kbuild: Fix accidental revert in commit fe04ddf (diff) | |
| download | kernel-dd8e8c4a2c902d8350b702e7bc7c2799e5e7e331.tar.gz kernel-dd8e8c4a2c902d8350b702e7bc7c2799e5e7e331.zip | |
thermal, cpufreq: Fix build when CPU_FREQ_TABLE isn't configured
Commit 023614183768 ("thermal: add generic cpufreq cooling
implementation") requires cpufreq_frequency_get_table(), but that
function is only defined for CONFIG_CPU_FREQ_TABLE resulting in the
following build error:
drivers/built-in.o: In function `cpufreq_get_max_state':
drivers/thermal/cpu_cooling.c:259: undefined reference to `cpufreq_frequency_get_table'
drivers/built-in.o: In function `get_cpu_frequency':
drivers/thermal/cpu_cooling.c:129: undefined reference to `cpufreq_frequency_get_table'
Fix it by selecting CONFIG_CPU_FREQ_TABLE for such a configuration.
It turns out CONFIG_EXYNOS_THERMAL also needs CONFIG_CPU_FREQ_TABLE, so
select it there as well.
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
