summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2015-11-05 21:18:17 +0100
committerGuenter Roeck <linux@roeck-us.net>2015-11-16 06:52:39 +0100
commit92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f (patch)
tree3bd2167a1fcdb2d6199f64e16ce0fd44084f147c /drivers/hwmon
parentLinux 4.4-rc1 (diff)
downloadlinux-92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f.tar.xz
linux-92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f.zip
hwmon: (ina2xx) Fix build issue by selecting REGMAP_I2C
Since a0de56c81fcf ("hwmon: (ina2xx) convert driver to using regmap") the driver requires REGMAP_I2C to build. Select it by default in Kconfig. Reported-by: Guo Chunrong <B40290@freescale.com> Cc: Marc Titinger <mtitinger@baylibre.com> Signed-off-by: Li Yang <leoli@freescale.com> Fixes: a0de56c81fcf ("hwmon: (ina2xx) convert driver to using regmap") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 842b0043ad94..6e4e0464e776 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1471,6 +1471,7 @@ config SENSORS_INA209
config SENSORS_INA2XX
tristate "Texas Instruments INA219 and compatibles"
depends on I2C
+ select REGMAP_I2C
help
If you say yes here you get support for INA219, INA220, INA226,
INA230, and INA231 power monitor chips.