hwmon: (ina2xx) Fix build issue by selecting REGMAP_I2C
authorLi Yang <leoli@freescale.com>
Thu, 5 Nov 2015 20:18:17 +0000 (14:18 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 16 Nov 2015 05:52:39 +0000 (21:52 -0800)
commit92e11f002cac5f6d60bc7498d8d33e6a5fb9cb6f
tree3bd2167a1fcdb2d6199f64e16ce0fd44084f147c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
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>
drivers/hwmon/Kconfig