Skip to content

Commit fbfc23e

Browse files
Chuansheng-Liutorvalds
authored andcommitted
mfd, TWL4030: TWL4030 need select REGMAP_I2C
Fix the build error: drivers/built-in.o: In function `twl_probe': drivers/mfd/twl-core.c:1256: undefined reference to `devm_regmap_init_i2c' make: *** [vmlinux] Error 1 Signed-off-by: liu chuansheng <chuansheng.liu@intel.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> [ Samuel is busy, taking it directly - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 30a4840 commit fbfc23e

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
@@ -292,6 +292,7 @@ config TWL4030_CORE
292292
bool "Texas Instruments TWL4030/TWL5030/TWL6030/TPS659x0 Support"
293293
depends on I2C=y && GENERIC_HARDIRQS
294294
select IRQ_DOMAIN
295+
select REGMAP_I2C
295296
help
296297
Say yes here if you have TWL4030 / TWL6030 family chip on your board.
297298
This core driver provides register access and IRQ handling

0 commit comments

Comments
 (0)