Fix this build error on s390: drivers/thermal/spear_thermal.c: In function 'thermal_get_temp': drivers/thermal/spear_thermal.c:49:2: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] Cc: Vincenzo Frascino <vincenzo.frascino@xxxxxx> Cc: Viresh Kumar <viresh.kumar@xxxxxx> Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx> --- drivers/thermal/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 2633fe0..06101a7 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -21,7 +21,7 @@ config THERMAL_HWMON config SPEAR_THERMAL bool "SPEAr thermal sensor driver" - depends on THERMAL + depends on THERMAL && HAS_IOMEM help Enable this to plug the SPEAr thermal sensor driver into the Linux thermal framework -- 1.7.9 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html