Skip to contentSkip to conversation

MFD: mp2629: select MFD_CORE to fix build error

PATCH Applied Randy Dunlap 2 participants 2 messages May 4, 2021 – May 10, 2021 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MFD: mp2629: select MFD_CORE to fix build error

MFD_MP2629 should select MFD_CORE to a prevent build error:

ERROR: modpost: "devm_mfd_add_devices" [drivers/mfd/mp2629.ko] undefined!

Fixes 06081646450e ("mfd: mp2629: Add support for mps battery charger")
Cc Saravanan Sekar <[email protected]>
Cc Lee Jones <[email protected]>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/Kconfig +1 -0
@@ -465,6 +465,7 @@ config MFD_MP2629
 	tristate "Monolithic Power Systems MP2629 ADC and Battery charger"
 	depends on I2C
 	select REGMAP_I2C
+	select MFD_CORE
 	help
 	  Select this option to enable support for Monolithic Power Systems
 	  battery charger. This provides ADC, thermal and battery charger power
Applied
#1 lore raw
Quoted 11 lines · Randy Dunlap

MFD_MP2629 should select MFD_CORE to a prevent build error:

ERROR: modpost: "devm_mfd_add_devices" [drivers/mfd/mp2629.ko] undefined!

Fixes 06081646450e ("mfd: mp2629: Add support for mps battery charger")
Cc Saravanan Sekar <[email protected]>
Cc Lee Jones <[email protected]>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog