summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-02-11 18:15:02 +0100
committerLee Jones <lee.jones@linaro.org>2020-03-30 08:34:57 +0200
commitc703797c1d5466f9af70bc7692fa49399107e66c (patch)
tree62baae9f77f4c771fe6af8a6434e1dd90918acc6 /drivers/mfd
parentmfd: cros_ec: Check DT node for usbpd-notify add (diff)
downloadlinux-c703797c1d5466f9af70bc7692fa49399107e66c.tar.xz
linux-c703797c1d5466f9af70bc7692fa49399107e66c.zip
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index da4a9a0c5ca2..611fe602f213 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