diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-10-02 03:08:11 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-10-07 17:42:32 +0200 |
commit | 2d6c668902e5834f54d7eb673318455492730cbf (patch) | |
tree | 89aff4a12d72668c90d713ae43c32c89c694d705 | |
parent | hwmon: (ltc2991) Add missing dependency on REGMAP_I2C (diff) | |
download | linux-2d6c668902e5834f54d7eb673318455492730cbf.tar.xz linux-2d6c668902e5834f54d7eb673318455492730cbf.zip |
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: 021730acbca6 ("hwmon: (max1668) Convert to use regmap")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Message-ID: <20241002-hwmon-select-regmap-v1-4-548d03268934@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-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 8f0709cb2b3b..08a3c863f80a 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1149,6 +1149,7 @@ config SENSORS_MAX1619 config SENSORS_MAX1668 tristate "Maxim MAX1668 and compatibles" depends on I2C + select REGMAP_I2C help If you say yes here you get support for MAX1668, MAX1989 and MAX1805 chips. |