diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-01-25 17:44:11 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-10 07:41:36 -0800 |
| commit | 90f9ed93549e68cd5e349d7c3a8ce0983728f1fe (patch) | |
| tree | 464c52da186db917cbcb04524b7023532d010e98 /tools/perf/scripts/python | |
| parent | c1504091b9805d131abb36a1f01af7a5c99ac9fc (diff) | |
thermal: allow spear-thermal driver to be a module
[ Upstream commit 4d2f1794c07aae55b8f25f4d8aebcafc0d3e501d ]
When the thermal subsystem is a loadable module, the spear driver
fails to build:
drivers/thermal/built-in.o: In function `spear_thermal_exit':
spear_thermal.c:(.text+0xf8): undefined reference to `thermal_zone_device_unregister'
drivers/thermal/built-in.o: In function `spear_thermal_probe':
spear_thermal.c:(.text+0x230): undefined reference to `thermal_zone_device_register'
This changes the symbol to a tristate, so Kconfig can track the
dependency correctly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
