diff options
| author | Arnd Bergmann <[email protected]> | 2015-11-16 21:27:55 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-11-18 23:21:47 +0000 |
| commit | 2d4ee3036774e394d416cded9d5cf7661ffb4e4f (patch) | |
| tree | 7ac2a24bf2391030a565bb91af9fbabde8b65939 /drivers/acpi/cppc_acpi.c | |
| parent | cpufreq: intel_pstate: Add separate support for Airmont cores (diff) | |
| download | kernel-2d4ee3036774e394d416cded9d5cf7661ffb4e4f.tar.gz kernel-2d4ee3036774e394d416cded9d5cf7661ffb4e4f.zip | |
cpufreq: mediatek: fix build error
The recently added mt8173 cpufreq driver relies on the cpu topology
that is always present on ARM64 but optional on ARM32:
drivers/cpufreq/mt8173-cpufreq.c: In function 'mtk_cpufreq_init':
drivers/cpufreq/mt8173-cpufreq.c:441:30: error: 'cpu_topology' undeclared (first use in this function)
cpumask_copy(policy->cpus, &cpu_topology[policy->cpu].core_sibling);
This refines the Kconfig dependencies so that we can still build on
ARM32, but only if COMPILE_TEST is selected and the CPU topology
code is present.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
