Commit a165dcc9 authored by Axel Lin's avatar Axel Lin Committed by Guenter Roeck

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: ee249f27 ("hwmon: Add W83773G driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8c2ffd91
...@@ -1759,6 +1759,7 @@ config SENSORS_VT8231 ...@@ -1759,6 +1759,7 @@ config SENSORS_VT8231
config SENSORS_W83773G config SENSORS_W83773G
tristate "Nuvoton W83773G" tristate "Nuvoton W83773G"
depends on I2C depends on I2C
select REGMAP_I2C
help help
If you say yes here you get support for the Nuvoton W83773G hardware If you say yes here you get support for the Nuvoton W83773G hardware
monitoring chip. monitoring chip.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment