diff options
author | Arnd Bergmann <[email protected]> | 2017-05-11 14:12:29 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-05-14 13:40:16 +0200 |
commit | be0408d74d9c95de1baf6c2563b6e6d1dfb17b88 (patch) | |
tree | 42b27a2c0aa33530c4e944db54e671246840a8e0 /net | |
parent | 2addac72afb304fa5aa57dbdd12659a8fd52d105 (diff) |
cpufreq: dbx500: add a Kconfig symbol
Moving the cooling code into the cpufreq driver caused a possible build failure
when the cpu_thermal helper code is a loadable module or disabled:
drivers/cpufreq/dbx500-cpufreq.o: In function `dbx500_cpufreq_ready':
dbx500-cpufreq.c:(.text.dbx500_cpufreq_ready+0x4): undefined reference to `cpufreq_cooling_register'
This adds the same dependency that we have in other cpufreq drivers,
forcing the driver to be disabled when we can't possibly link it.
Fixes: 19678ffb9fd6 (cpufreq: dbx500: Manage cooling device from cpufreq driver)
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions