diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-10-02 03:08:09 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-10-07 17:42:32 +0200 |
commit | b6abcc19566509ab4812bd5ae5df46515d0c1d70 (patch) | |
tree | 7fc0a3702665286e76d218e2b4edd591f98e83d6 /drivers/hwmon | |
parent | hwmon: (adm9240) Add missing dependency on REGMAP_I2C (diff) | |
download | linux-b6abcc19566509ab4812bd5ae5df46515d0c1d70.tar.xz linux-b6abcc19566509ab4812bd5ae5df46515d0c1d70.zip |
hwmon: (adt7470) 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: ef67959c4253 ("hwmon: (adt7470) Convert to use regmap")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Message-ID: <20241002-hwmon-select-regmap-v1-2-548d03268934@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-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 9f171f981a76..5770bf35b9d8 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -224,6 +224,7 @@ config SENSORS_ADT7462 config SENSORS_ADT7470 tristate "Analog Devices ADT7470" depends on I2C + select REGMAP_I2C help If you say yes here you get support for the Analog Devices ADT7470 temperature monitoring chips. |