[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1446754697-19766-1-git-send-email-leoli@freescale.com>
Date: Thu, 5 Nov 2015 14:18:17 -0600
From: Li Yang <leoli@...escale.com>
To: <jdelvare@...e.com>, <linux@...ck-us.net>
CC: <lm-sensors@...sensors.org>, <linux-kernel@...r.kernel.org>,
Li Yang <leoli@...escale.com>,
Marc Titinger <mtitinger@...libre.com>
Subject: [PATCH] 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.
Reported-by: Guo Chunrong <B40290@...escale.com>
Cc: Marc Titinger <mtitinger@...libre.com>
Signed-off-by: Li Yang <leoli@...escale.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists