power: supply: mm8013: select REGMAP_I2C
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 4 Feb 2024 17:30:43 +0000 (18:30 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 12 Feb 2024 00:16:05 +0000 (01:16 +0100)
The driver uses regmap APIs so it should make sure they are available.

Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240204-mm8013-regmap-v1-1-7cc6b619b7d3@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/Kconfig

index f21cb05815ec6391cc5e11c7edc5190b7163aa94..3e31375491d58055b19f1b61b57dcac3d849b363 100644 (file)
@@ -978,6 +978,7 @@ config CHARGER_QCOM_SMB2
 config FUEL_GAUGE_MM8013
        tristate "Mitsumi MM8013 fuel gauge driver"
        depends on I2C
+       select REGMAP_I2C
        help
          Say Y here to enable the Mitsumi MM8013 fuel gauge driver.
          It enables the monitoring of many battery parameters, including