summaryrefslogtreecommitdiff
path: root/drivers/soc/imx/gpc.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-03-13 10:37:33 +0100
committerArnd Bergmann <arnd@arndb.de>2018-03-13 15:26:01 +0100
commit697a3a873c2cd085f8ee18e20f993e3c731e1b8d (patch)
treeae51ea4d55c3e9cc732de75463f24554010647e1 /drivers/soc/imx/gpc.c
parent49774d86fd485873e736470ea1cb03f84d39ce3f (diff)
cpufreq: scmi: add thermal dependency
A built-in scmi cpufreq driver cannot link against a modular thermal framework: drivers/cpufreq/scmi-cpufreq.o: In function `scmi_cpufreq_ready': scmi-cpufreq.c:(.text+0x40): undefined reference to `of_cpufreq_cooling_register' drivers/cpufreq/scmi-cpufreq.o: In function `scmi_cpufreq_exit': scmi-cpufreq.c:(.text+0x88): 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. Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/imx/gpc.c')
0 files changed, 0 insertions, 0 deletions