Skip to contentSkip to conversation

hwmon: fix ina2xx build issue by selecting REGMAP_I2C

PATCH Applied Li Yang 2 participants 2 messages Nov 5, 2015 – Nov 6, 2015 Hardware monitoring

lore
Share & tools
lore

Li Yang

author
#0 lore raw

PATCH 1/1 hwmon: fix ina2xx build issue by selecting REGMAP_I2C

Since a0de56(hwmon: (ina2xx) convert driver to using regmap) the driver requires REGMAP_I2C to build. Select it by default in Kconfig.

---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hwmon/Kconfig +1 -0
index 796569ee..177326f 100644
@@ -1463,6 +1463,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.
Signature · 1 line
2.3.3