Commit 92e11f00 authored by Li Yang's avatar Li Yang Committed by Guenter Roeck

hwmon: (ina2xx) Fix build issue by selecting REGMAP_I2C

Since a0de56c8 ("hwmon: (ina2xx) convert driver to using regmap")
the driver requires REGMAP_I2C to build.  Select it by default
in Kconfig.
Reported-by: default avatarGuo Chunrong <B40290@freescale.com>
Cc: Marc Titinger <mtitinger@baylibre.com>
Signed-off-by: default avatarLi Yang <leoli@freescale.com>
Fixes: a0de56c8 ("hwmon: (ina2xx) convert driver to using regmap")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8005c49d
...@@ -1471,6 +1471,7 @@ config SENSORS_INA209 ...@@ -1471,6 +1471,7 @@ config SENSORS_INA209
config SENSORS_INA2XX config SENSORS_INA2XX
tristate "Texas Instruments INA219 and compatibles" tristate "Texas Instruments INA219 and compatibles"
depends on I2C depends on I2C
select REGMAP_I2C
help help
If you say yes here you get support for INA219, INA220, INA226, If you say yes here you get support for INA219, INA220, INA226,
INA230, and INA231 power monitor chips. INA230, and INA231 power monitor chips.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment