Skip to content

Commit f503329

Browse files
javiercarrascocruzgregkh
authored andcommitted
hwmon: (adm9240) Add missing dependency on REGMAP_I2C
[ Upstream commit 14849a2 ] 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: df885d9 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent fe5866f commit f503329

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
@@ -174,6 +174,7 @@ config SENSORS_ADM9240
174174
tristate "Analog Devices ADM9240 and compatibles"
175175
depends on I2C
176176
select HWMON_VID
177+
select REGMAP_I2C
177178
help
178179
If you say yes here you get support for Analog Devices ADM9240,
179180
Dallas DS1780, National Semiconductor LM81 sensor chips.

0 commit comments

Comments
 (0)