Skip to content

Commit 56c77c0

Browse files
javiercarrascocruzgroeck
authored andcommitted
hwmon: (mc34vr500) 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: 07830d9 ("hwmon: add initial NXP MC34VR500 PMIC monitoring support") Signed-off-by: Javier Carrasco <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 193bc02 commit 56c77c0

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
@@ -1275,6 +1275,7 @@ config SENSORS_MAX31790
12751275
config SENSORS_MC34VR500
12761276
tristate "NXP MC34VR500 hardware monitoring driver"
12771277
depends on I2C
1278+
select REGMAP_I2C
12781279
help
12791280
If you say yes here you get support for the temperature and input
12801281
voltage sensors of the NXP MC34VR500.

0 commit comments

Comments
 (0)