mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Krzysztof Kozlowski](/assets/img/avatar_default.png)
The devres.o gets linked if HAS_IOMEM is present so on ARCH=um allyesconfig (COMPILE_TEST) failed on many files with: drivers/built-in.o: In function `kirkwood_thermal_probe': kirkwood_thermal.c:(.text+0x390a25): undefined reference to `devm_ioremap_resource' drivers/built-in.o: In function `exynos_tmu_probe': exynos_tmu.c:(.text+0x39246b): undefined reference to `devm_ioremap' The users of devm_ioremap_resource() which are compile-testable should depend on HAS_IOMEM. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
10 lines
444 B
Text
10 lines
444 B
Text
config EXYNOS_THERMAL
|
|
tristate "Exynos thermal management unit driver"
|
|
depends on THERMAL_OF
|
|
depends on HAS_IOMEM
|
|
help
|
|
If you say yes here you get support for the TMU (Thermal Management
|
|
Unit) driver for SAMSUNG EXYNOS series of SoCs. This driver initialises
|
|
the TMU, reports temperature and handles cooling action if defined.
|
|
This driver uses the Exynos core thermal APIs and TMU configuration
|
|
data from the supported SoCs.
|