]>
Commit | Line | Data |
---|---|---|
948f2681 GKH |
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 | |
5 | ||
6 | From: Axel Lin <axel.lin@ingics.com> | |
7 | ||
8 | commit a165dcc923ada2ffdee1d4f41f12f81b66d04c55 upstream. | |
9 | ||
10 | Select REGMAP_I2C to avoid below build error: | |
11 | ERROR: "__devm_regmap_init_i2c" [drivers/hwmon/w83773g.ko] undefined! | |
12 | ||
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> | |
18 | ||
19 | --- | |
20 | drivers/hwmon/Kconfig | 1 + | |
21 | 1 file changed, 1 insertion(+) | |
22 | ||
23 | --- a/drivers/hwmon/Kconfig | |
24 | +++ b/drivers/hwmon/Kconfig | |
25 | @@ -1755,6 +1755,7 @@ config SENSORS_VT8231 | |
26 | config SENSORS_W83773G | |
27 | tristate "Nuvoton W83773G" | |
28 | depends on I2C | |
29 | + select REGMAP_I2C | |
30 | help | |
31 | If you say yes here you get support for the Nuvoton W83773G hardware | |
32 | monitoring chip. |