Skip to content

Commit b6abcc1

Browse files
javiercarrascocruzgroeck
authored andcommitted
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: 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]>
1 parent 14849a2 commit b6abcc1

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
@@ -224,6 +224,7 @@ config SENSORS_ADT7462
224224
config SENSORS_ADT7470
225225
tristate "Analog Devices ADT7470"
226226
depends on I2C
227+
select REGMAP_I2C
227228
help
228229
If you say yes here you get support for the Analog Devices
229230
ADT7470 temperature monitoring chips.

0 commit comments

Comments
 (0)