Commit a9332720 authored by Randy Dunlap's avatar Randy Dunlap Committed by Lee Jones

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: 06081646 ("mfd: mp2629: Add support for mps battery charger")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 9fb3cad0
...@@ -465,6 +465,7 @@ config MFD_MP2629 ...@@ -465,6 +465,7 @@ config MFD_MP2629
tristate "Monolithic Power Systems MP2629 ADC and Battery charger" tristate "Monolithic Power Systems MP2629 ADC and Battery charger"
depends on I2C depends on I2C
select REGMAP_I2C select REGMAP_I2C
select MFD_CORE
help help
Select this option to enable support for Monolithic Power Systems Select this option to enable support for Monolithic Power Systems
battery charger. This provides ADC, thermal and battery charger power battery charger. This provides ADC, thermal and battery charger power
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment