Skip to content

Commit 14849a2

Browse files
javiercarrascocruzgroeck
authored andcommitted
hwmon: (adm9240) 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: df885d9 ("hwmon: (adm9240) Convert to regmap") Signed-off-by: Javier Carrasco <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 56c77c0 commit 14849a2

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
@@ -162,6 +162,7 @@ config SENSORS_ADM9240
162162
tristate "Analog Devices ADM9240 and compatibles"
163163
depends on I2C
164164
select HWMON_VID
165+
select REGMAP_I2C
165166
help
166167
If you say yes here you get support for Analog Devices ADM9240,
167168
Dallas DS1780, National Semiconductor LM81 sensor chips.

0 commit comments

Comments
 (0)