Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 11381ee

Browse files
javiercarrascocruzgregkh
authored andcommitted
hwmon: (adt7470) Add missing dependency on REGMAP_I2C
[ Upstream commit b6abcc1 ] 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: ef67959 ("hwmon: (adt7470) Convert to use regmap") Signed-off-by: Javier Carrasco <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent f503329 commit 11381ee

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
@@ -236,6 +236,7 @@ config SENSORS_ADT7462
236236
config SENSORS_ADT7470
237237
tristate "Analog Devices ADT7470"
238238
depends on I2C
239+
select REGMAP_I2C
239240
help
240241
If you say yes here you get support for the Analog Devices
241242
ADT7470 temperature monitoring chips.

0 commit comments

Comments
 (0)