mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon: fix ina2xx build issue by selecting REGMAP_I2C
@ 2015-11-05 20:18 Li Yang
  2015-11-06  0:44 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Li Yang @ 2015-11-05 20:18 UTC (permalink / raw)
  To: jdelvare, linux; +Cc: lm-sensors, linux-kernel, Li Yang, Marc Titinger

Since a0de56(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>

---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 796569ee..177326f 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -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.
-- 
2.3.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-06  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05 20:18 [PATCH] hwmon: fix ina2xx build issue by selecting REGMAP_I2C Li Yang
2015-11-06  0:44 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®