linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MFD: mp2629: select MFD_CORE to fix build error
@ 2021-05-04  2:32 Randy Dunlap
  2021-05-10 16:12 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-05-04  2:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Saravanan Sekar, Lee Jones

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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Saravanan Sekar <sravanhome@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20210503.orig/drivers/mfd/Kconfig
+++ linux-next-20210503/drivers/mfd/Kconfig
@@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] MFD: mp2629: select MFD_CORE to fix build error
  2021-05-04  2:32 [PATCH] MFD: mp2629: select MFD_CORE to fix build error Randy Dunlap
@ 2021-05-10 16:12 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2021-05-10 16:12 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, Saravanan Sekar

On Mon, 03 May 2021, Randy Dunlap wrote:

> 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")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Saravanan Sekar <sravanhome@gmail.com>
> Cc: Lee Jones <lee.jones@linaro.org>
> ---
>  drivers/mfd/Kconfig |    1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-10 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  2:32 [PATCH] MFD: mp2629: select MFD_CORE to fix build error Randy Dunlap
2021-05-10 16:12 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).