diff options
author | Li Yang <leoli@freescale.com> | 2015-11-05 15:18:17 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-11-16 00:52:39 -0500 |
commit | 92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f (patch) | |
tree | 3bd2167a1fcdb2d6199f64e16ce0fd44084f147c /drivers/hwmon | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) |
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/Kconfig | 1 |
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 | |||
1471 | config SENSORS_INA2XX | 1471 | config SENSORS_INA2XX |
1472 | tristate "Texas Instruments INA219 and compatibles" | 1472 | tristate "Texas Instruments INA219 and compatibles" |
1473 | depends on I2C | 1473 | depends on I2C |
1474 | select REGMAP_I2C | ||
1474 | help | 1475 | help |
1475 | If you say yes here you get support for INA219, INA220, INA226, | 1476 | If you say yes here you get support for INA219, INA220, INA226, |
1476 | INA230, and INA231 power monitor chips. | 1477 | INA230, and INA231 power monitor chips. |