summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-02 03:08:10 +0200
committerGuenter Roeck <linux@roeck-us.net>2024-10-07 08:42:32 -0700
commit7d4cc7fdc6c889608fff051530e6f0c617f71995 (patch)
tree84fc305c5caa49c289466734eed3cd06513d2c74 /drivers/hwmon
parentb6abcc19566509ab4812bd5ae5df46515d0c1d70 (diff)
downloadlwn-7d4cc7fdc6c889608fff051530e6f0c617f71995.tar.gz
lwn-7d4cc7fdc6c889608fff051530e6f0c617f71995.zip
hwmon: (ltc2991) Add missing dependency on REGMAP_I2C
This driver requires REGMAP_I2C to be selected in order to get access to regmap_config and devm_regmap_init_i2c. Add the missing dependency. Fixes: 2b9ea4262ae9 ("hwmon: Add driver for ltc2991") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Message-ID: <20241002-hwmon-select-regmap-v1-3-548d03268934@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 5770bf35b9d8..8f0709cb2b3b 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1001,6 +1001,7 @@ config SENSORS_LTC2990
config SENSORS_LTC2991
tristate "Analog Devices LTC2991"
depends on I2C
+ select REGMAP_I2C
help
If you say yes here you get support for Analog Devices LTC2991
Octal I2C Voltage, Current, and Temperature Monitor. The LTC2991