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 <javier.carrasco.cruz@gmail.com> Message-ID: <20241002-mc34vr500-select-regmap_i2c-v1-1-a01875d0a2e5@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 193bc02 commit 56c77c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)