summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-03-11 10:57:30 +0100
committerGuenter Roeck <linux@roeck-us.net>2019-03-29 17:51:44 +0100
commita165dcc923ada2ffdee1d4f41f12f81b66d04c55 (patch)
treeb4cb45b5ec317353a60f348f7a25174600935100 /drivers/hwmon/Kconfig
parentLinux 5.1-rc2 (diff)
downloadlinux-a165dcc923ada2ffdee1d4f41f12f81b66d04c55.tar.xz
linux-a165dcc923ada2ffdee1d4f41f12f81b66d04c55.zip
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: ee249f271524 ("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>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 6f929bfa9fcd..d0f1dfe2bcbb 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -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.