Skip to content

Commit a165dcc

Browse files
AxelLingroeck
authored andcommitted
hwmon: (w83773g) Select REGMAP_I2C to fix build error
Select REGMAP_I2C to avoid below build error: ERROR: "__devm_regmap_init_i2c" [drivers/hwmon/w83773g.ko] undefined! Fixes: ee249f2 ("hwmon: Add W83773G driver") Cc: stable@vger.kernel.org Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 8c2ffd9 commit a165dcc

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
@@ -1759,6 +1759,7 @@ config SENSORS_VT8231
17591759
config SENSORS_W83773G
17601760
tristate "Nuvoton W83773G"
17611761
depends on I2C
1762+
select REGMAP_I2C
17621763
help
17631764
If you say yes here you get support for the Nuvoton W83773G hardware
17641765
monitoring chip.

0 commit comments

Comments
 (0)