diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-25 17:44:11 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2016-02-09 14:16:08 -0800 |
commit | 4d2f1794c07aae55b8f25f4d8aebcafc0d3e501d (patch) | |
tree | c8268f61ff8947dc1923bb8b9c63bbdf83a46718 /drivers/mfd | |
parent | d612c64d1f4d6b2464993dfeafd9ec319f774188 (diff) | |
download | linux-4d2f1794c07aae55b8f25f4d8aebcafc0d3e501d.tar.bz2 |
thermal: allow spear-thermal driver to be a module
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>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions