summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2015-11-05 14:18:17 -0600
committerGuenter Roeck <linux@roeck-us.net>2015-11-15 21:52:39 -0800
commit92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f (patch)
tree3bd2167a1fcdb2d6199f64e16ce0fd44084f147c /drivers/hwmon
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f.tar.bz2
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.