From c703797c1d5466f9af70bc7692fa49399107e66c Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Tue, 11 Feb 2020 09:15:02 -0800 Subject: [PATCH] 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 Signed-off-by: Lee Jones --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index da4a9a0..611fe60 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -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 -- 2.7.4