@@ -178,6 +178,7 @@ config THERMAL_EMULATION
config HISI_THERMAL
tristate "Hisilicon thermal driver"
depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST
+ depends on HAS_IOMEM
help
Enable this to plug hisilicon's thermal sensor driver into the Linux
thermal framework. cpufreq is used as the cooling device to throttle
@@ -198,6 +199,7 @@ config SPEAR_THERMAL
bool "SPEAr thermal sensor driver"
depends on PLAT_SPEAR || COMPILE_TEST
depends on OF
+ depends on HAS_IOMEM
help
Enable this to plug the SPEAr thermal sensor driver into the Linux
thermal framework.
@@ -206,6 +208,7 @@ config ROCKCHIP_THERMAL
tristate "Rockchip thermal driver"
depends on ARCH_ROCKCHIP || COMPILE_TEST
depends on RESET_CONTROLLER
+ depends on HAS_IOMEM
help
Rockchip thermal driver provides support for Temperature sensor
ADC (TS-ADC) found on Rockchip SoCs. It supports one critical
@@ -224,6 +227,7 @@ config KIRKWOOD_THERMAL
tristate "Temperature sensor on Marvell Kirkwood SoCs"
depends on MACH_KIRKWOOD || COMPILE_TEST
depends on OF
+ depends on HAS_IOMEM
help
Support for the Kirkwood thermal sensor driver into the Linux thermal
framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
@@ -232,6 +236,7 @@ config DOVE_THERMAL
tristate "Temperature sensor on Marvell Dove SoCs"
depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
depends on OF
+ depends on HAS_IOMEM
help
Support for the Dove thermal sensor driver in the Linux thermal
framework.
@@ -250,6 +255,7 @@ config ARMADA_THERMAL
tristate "Armada 370/XP thermal management"
depends on ARCH_MVEBU || COMPILE_TEST
depends on OF
+ depends on HAS_IOMEM
help
Enable this option if you want to have support for thermal management
controller present in Armada 370 and Armada XP SoC.
@@ -372,6 +378,7 @@ endmenu
menu "Samsung thermal drivers"
depends on ARCH_EXYNOS || COMPILE_TEST
+depends on HAS_IOMEM
source "drivers/thermal/samsung/Kconfig"
endmenu
@@ -1,5 +1,6 @@
config TI_SOC_THERMAL
tristate "Texas Instruments SoCs temperature sensor driver"
+ depends on HAS_IOMEM
help
If you say yes here you get support for the Texas Instruments
OMAP4460+ on die bandgap temperature sensor support. The register
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger <richard@nod.at> --- drivers/thermal/Kconfig | 7 +++++++ drivers/thermal/ti-soc-thermal/Kconfig | 1 + 2 files changed, 8 insertions(+)