Skip to content

Commit 9b8bfdb

Browse files
rddunlapgregkh
authored andcommitted
mfd: mp2629: Select MFD_CORE to fix build error
[ Upstream commit a933272 ] MFD_MP2629 should select MFD_CORE to a prevent build error: ERROR: modpost: "devm_mfd_add_devices" [drivers/mfd/mp2629.ko] undefined! Fixes: 0608164 ("mfd: mp2629: Add support for mps battery charger") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 68f2f83 commit 9b8bfdb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/mfd/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ config MFD_MP2629
465465
tristate "Monolithic Power Systems MP2629 ADC and Battery charger"
466466
depends on I2C
467467
select REGMAP_I2C
468+
select MFD_CORE
468469
help
469470
Select this option to enable support for Monolithic Power Systems
470471
battery charger. This provides ADC, thermal and battery charger power

0 commit comments

Comments
 (0)