Commit 2d6c6689 authored by Javier Carrasco's avatar Javier Carrasco Committed by Guenter Roeck

hwmon: (max1668) Add missing dependency on REGMAP_I2C

This driver requires REGMAP_I2C to be selected in order to get access to
regmap_config, regmap_bus, and devm_regmap_init_i2c.
Add the missing dependency.

Fixes: 021730ac ("hwmon: (max1668) Convert to use regmap")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Message-ID: <20241002-hwmon-select-regmap-v1-4-548d03268934@gmail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 7d4cc7fd
...@@ -1149,6 +1149,7 @@ config SENSORS_MAX1619 ...@@ -1149,6 +1149,7 @@ config SENSORS_MAX1619
config SENSORS_MAX1668 config SENSORS_MAX1668
tristate "Maxim MAX1668 and compatibles" tristate "Maxim MAX1668 and compatibles"
depends on I2C depends on I2C
select REGMAP_I2C
help help
If you say yes here you get support for MAX1668, MAX1989 and If you say yes here you get support for MAX1668, MAX1989 and
MAX1805 chips. MAX1805 chips.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment