Skip to content

Commit 7d4cc7f

Browse files
javiercarrascocruzgroeck
authored andcommitted
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: 2b9ea42 ("hwmon: Add driver for ltc2991") Signed-off-by: Javier Carrasco <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent b6abcc1 commit 7d4cc7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hwmon/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ config SENSORS_LTC2990
10011001
config SENSORS_LTC2991
10021002
tristate "Analog Devices LTC2991"
10031003
depends on I2C
1004+
select REGMAP_I2C
10041005
help
10051006
If you say yes here you get support for Analog Devices LTC2991
10061007
Octal I2C Voltage, Current, and Temperature Monitor. The LTC2991

0 commit comments

Comments
 (0)