diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-03-13 12:45:40 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-03-20 11:02:42 +0100 |
commit | 3478b24c5e6fd4f27616674ea94dba8e28fbc7f7 (patch) | |
tree | 7d9e08e8527fc2ef9edad2c1c05a98440ad9961d /drivers/cpufreq/imx6q-cpufreq.c | |
parent | 55b55abc17f238c61921360e61dde90dd9a326d1 (diff) | |
download | op-kernel-dev-3478b24c5e6fd4f27616674ea94dba8e28fbc7f7.zip op-kernel-dev-3478b24c5e6fd4f27616674ea94dba8e28fbc7f7.tar.gz |
cpufreq: scpi: Add thermal dependency
A built-in scpi cpufreq driver cannot link against a modular
thermal framework:
drivers/cpufreq/scpi-cpufreq.o: In function `scpi_cpufreq_ready':
scpi-cpufreq.c:(.text+0x4c): undefined reference to `of_cpufreq_cooling_register'
drivers/cpufreq/scpi-cpufreq.o: In function `scpi_cpufreq_exit':
scpi-cpufreq.c:(.text+0x9c): undefined reference to `cpufreq_cooling_unregister'
This adds a Kconfig dependency that makes sure this configuration
is not possible, while allowing all configurations that can work.
Note that disabling CPU_THERMAL means we don't care about the
THERMAL dependency.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/imx6q-cpufreq.c')
0 files changed, 0 insertions, 0 deletions