hwmon: (w83773g) Select REGMAP_I2C to fix build error
PATCH 1/1 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!
Signed-off-by Axel Lin <[email protected]>
--- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/hwmon/Kconfig +1 -0
@@ -1759,6 +1759,7 @@ config SENSORS_VT8231 config SENSORS_W83773G tristate "Nuvoton W83773G" depends on I2C + select REGMAP_I2C help If you say yes here you get support for the Nuvoton W83773G hardware monitoring chip.
Signature · 1 line
2.17.1
Quoted 4 lines · Axel Lin
Select
REGMAP_I2Cto avoid below build error:
ERROR: "__devm_regmap_init_i2c" [drivers/hwmon/w83773g.ko] undefined!Signed-off-by Axel Lin <[email protected]>
Applied.
Thanks,
Guenter
Quoted 16 lines
--- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/hwmon/Kconfig +1
-0@@ -1759,6 +1759,7 @@ config SENSORS_VT8231 config SENSORS_W83773G tristate "Nuvoton W83773G" depends on I2C + select REGMAP_I2C help If you say yes here you get support for the Nuvoton W83773G hardware monitoring chip.