Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Chuansheng Liu and committed by
Linus Torvalds
fbfc23ef 30a4840a

+1
+1
drivers/mfd/Kconfig
··· 292 292 bool "Texas Instruments TWL4030/TWL5030/TWL6030/TPS659x0 Support" 293 293 depends on I2C=y && GENERIC_HARDIRQS 294 294 select IRQ_DOMAIN 295 + select REGMAP_I2C 295 296 help 296 297 Say yes here if you have TWL4030 / TWL6030 family chip on your board. 297 298 This core driver provides register access and IRQ handling