summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-02 03:08:08 +0200
committerGuenter Roeck <linux@roeck-us.net>2024-10-07 17:42:32 +0200
commit14849a2ec175bb8a2280ce20efe002bb19f1e274 (patch)
tree3e3a67d423cca56ae191b14d44ed4236c7c6d89b /drivers/hwmon/Kconfig
parenthwmon: (mc34vr500) Add missing dependency on REGMAP_I2C (diff)
downloadlinux-14849a2ec175bb8a2280ce20efe002bb19f1e274.tar.xz
linux-14849a2ec175bb8a2280ce20efe002bb19f1e274.zip
hwmon: (adm9240) 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: df885d912f67 ("hwmon: (adm9240) Convert to regmap") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Message-ID: <20241002-hwmon-select-regmap-v1-1-548d03268934@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 89ec8042ccf9..9f171f981a76 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -162,6 +162,7 @@ config SENSORS_ADM9240
tristate "Analog Devices ADM9240 and compatibles"
depends on I2C
select HWMON_VID
+ select REGMAP_I2C
help
If you say yes here you get support for Analog Devices ADM9240,
Dallas DS1780, National Semiconductor LM81 sensor chips.