Skip to content

Commit 30d5297

Browse files
t-8chsre
authored andcommitted
power: supply: mm8013: select REGMAP_I2C
The driver uses regmap APIs so it should make sure they are available. Fixes: c75f4bf ("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>
1 parent d0266d7 commit 30d5297

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/power/supply/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ config CHARGER_QCOM_SMB2
978978
config FUEL_GAUGE_MM8013
979979
tristate "Mitsumi MM8013 fuel gauge driver"
980980
depends on I2C
981+
select REGMAP_I2C
981982
help
982983
Say Y here to enable the Mitsumi MM8013 fuel gauge driver.
983984
It enables the monitoring of many battery parameters, including

0 commit comments

Comments
 (0)