]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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)
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

index 842b0043ad9477160194a7c7a94b03f7ab06d5a1..6e4e0464e7761fa5f9ef77f6d435521e491fb986 100644 (file)
@@ -1471,6 +1471,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.