1 From a165dcc923ada2ffdee1d4f41f12f81b66d04c55 Mon Sep 17 00:00:00 2001
2 From: Axel Lin <axel.lin@ingics.com>
3 Date: Mon, 11 Mar 2019 17:57:30 +0800
4 Subject: hwmon: (w83773g) Select REGMAP_I2C to fix build error
6 From: Axel Lin <axel.lin@ingics.com>
8 commit a165dcc923ada2ffdee1d4f41f12f81b66d04c55 upstream.
10 Select REGMAP_I2C to avoid below build error:
11 ERROR: "__devm_regmap_init_i2c" [drivers/hwmon/w83773g.ko] undefined!
13 Fixes: ee249f271524 ("hwmon: Add W83773G driver")
14 Cc: stable@vger.kernel.org
15 Signed-off-by: Axel Lin <axel.lin@ingics.com>
16 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 drivers/hwmon/Kconfig | 1 +
21 1 file changed, 1 insertion(+)
23 --- a/drivers/hwmon/Kconfig
24 +++ b/drivers/hwmon/Kconfig
25 @@ -1759,6 +1759,7 @@ config SENSORS_VT8231
26 config SENSORS_W83773G
27 tristate "Nuvoton W83773G"
31 If you say yes here you get support for the Nuvoton W83773G hardware