projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8db89d
)
mfd: cpcap: Fix compile if MFD_CORE is not selected
author
Tony Lindgren
<tony@atomide.com>
Tue, 11 Feb 2020 17:15:02 +0000
(09:15 -0800)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 30 Mar 2020 06:34:57 +0000
(07:34 +0100)
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>
drivers/mfd/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/mfd/Kconfig
b/drivers/mfd/Kconfig
index
da4a9a0
..
611fe60
100644
(file)
--- 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