diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-10-02 03:08:10 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-10-07 17:42:32 +0200 |
commit | 7d4cc7fdc6c889608fff051530e6f0c617f71995 (patch) | |
tree | 84fc305c5caa49c289466734eed3cd06513d2c74 /drivers | |
parent | hwmon: (adt7470) Add missing dependency on REGMAP_I2C (diff) | |
download | linux-7d4cc7fdc6c889608fff051530e6f0c617f71995.tar.xz linux-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')
-rw-r--r-- | drivers/hwmon/Kconfig | 1 |
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 |