mfd: cpcap: Fix compile if MFD_CORE is not selected

If only cpcap mfd driver is selected we will get:

ERROR: "devm_mfd_add_devices" [drivers/mfd/motorola-cpcap.ko] undefined!

This is because Kconfig is missing select for MFD_CORE.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Tony Lindgren 2020-02-11 09:15:02 -08:00 коммит произвёл Lee Jones
Родитель f8db89d14e
Коммит c703797c1d
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -906,6 +906,7 @@ config MFD_CPCAP
tristate "Support for Motorola CPCAP"
depends on SPI
depends on OF || COMPILE_TEST
select MFD_CORE
select REGMAP_SPI
select REGMAP_IRQ
help