aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@siemens.com>2024-02-21 15:30:18 +0100
committerLee Jones <lee@kernel.org>2024-02-23 17:05:21 +0000
commit3bb36528d46e494987ee5e9682d08318928ae041 (patch)
treea391d268af49980baf3cedb8800d433212eda24a /drivers/mfd
parentmfd: core: Constify the struct device_type usage (diff)
downloadwireguard-linux-3bb36528d46e494987ee5e9682d08318928ae041.tar.xz
wireguard-linux-3bb36528d46e494987ee5e9682d08318928ae041.zip
mfd: twl: Select MFD_CORE
Fix link error: ld.bfd: drivers/mfd/twl-core.o: in function `twl_probe': git/drivers/mfd/twl-core.c:846: undefined reference to `devm_mfd_add_devices' Cc: <stable@vger.kernel.org> Fixes: 63416320419e ("mfd: twl-core: Add a clock subdevice for the TWL6032") Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com> Reviewed-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/20240221143021.3542736-1-alexander.sverdlin@siemens.com Signed-off-by: Lee Jones <lee@kernel.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 e7a6e45b9fac..4b023ee229cf 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1773,6 +1773,7 @@ config TWL4030_CORE
bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 Support"
depends on I2C=y
select IRQ_DOMAIN
+ select MFD_CORE
select REGMAP_I2C
help
Say yes here if you have TWL4030 / TWL6030 family chip on your board.