From c3f49d25a4ed2fdeab19d3689c4600ba096e7a90 Mon Sep 17 00:00:00 2001 From: Mike Pagano Date: Sat, 21 Mar 2020 19:12:25 -0400 Subject: [PATCH 1/1] hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP and CONFIG_REGMAP_I2C Cc: mpagano@gentoo.org This driver requires REGMAP and REGMAP_I2C to build. Select both by default in Kconfig. Reported at gentoo bugzilla: https://bugs.gentoo.org/710790 Reported-by: Phil Stracchino Signed-off-by: Mike Pagano --- drivers/hwmon/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 47ac20aee06f..6edf8522447d 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1769,6 +1769,8 @@ config SENSORS_TMP421 config SENSORS_TMP513 tristate "Texas Instruments TMP513 and compatibles" depends on I2C + select REGMAP + select REGMAP_I2C help If you say yes here you get support for Texas Instruments TMP512, and TMP513 temperature and power supply sensor chips. -- 2.24.1