summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/db8500_thermal.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-03-04 02:03:59 +0100
committerEduardo Valentin <edubezval@gmail.com>2016-03-08 21:22:35 +0100
commitbf82c350e940f5ee3508a94165a99eda81298d5f (patch)
tree28480fb692174ea57525f30276cee60645276198 /drivers/thermal/db8500_thermal.c
parentthermal: ti-soc-thermal: clean up the error handling a bit (diff)
downloadlinux-bf82c350e940f5ee3508a94165a99eda81298d5f.tar.xz
linux-bf82c350e940f5ee3508a94165a99eda81298d5f.zip
thermal: Fix build error of missing devm_ioremap_resource on UM
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>
Diffstat (limited to 'drivers/thermal/db8500_thermal.c')
0 files changed, 0 insertions, 0 deletions