diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-05-03 19:32:18 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-06-02 10:49:58 +0100 |
commit | a933272041d852a1ef1c85f0c18b93e9999a41fa (patch) | |
tree | 54c3e49f0e7c7ae5e07a40780f89ce3119a99043 /drivers/mfd/Kconfig | |
parent | 9fb3cad02517cd34311c8ba15c5d78027c63db02 (diff) | |
download | linux-a933272041d852a1ef1c85f0c18b93e9999a41fa.tar.bz2 |
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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 5c7f2b100191..5c408c1dc58c 100644 --- a/drivers/mfd/Kconfig +++ b/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 |