Skip to content

Commit 9ef4dc2

Browse files
woodyzhang666lag-linaro
authored andcommitted
mfd: cs42l43: Fix MFD_CS42L43 dependency on REGMAP_IRQ
MFD_CS42L43 depends on REGMAP_IRQ as it uses devm_regmap_add_irq_chip. Otherwise the build may fail with following log. AR drivers/built-in.a AR built-in.a AR vmlinux.a LD vmlinux.o OBJCOPY modules.builtin.modinfo GEN modules.builtin MODPOST Module.symvers ERROR: modpost: "devm_regmap_add_irq_chip" [drivers/mfd/cs42l43.ko] undefined! Fixes: ace6d14 ("mfd: cs42l43: Add support for cs42l43 core driver") Signed-off-by: Woody Zhang <[email protected]> Acked-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 0bb80ec commit 9ef4dc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mfd/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ config MFD_CS42L43
241241
tristate
242242
select MFD_CORE
243243
select REGMAP
244+
select REGMAP_IRQ
244245

245246
config MFD_CS42L43_I2C
246247
tristate "Cirrus Logic CS42L43 (I2C)"

0 commit comments

Comments
 (0)