From: Chuansheng Liu Date: Mon, 24 Dec 2012 14:19:56 +0000 (+0800) Subject: mfd, TWL4030: TWL4030 need select REGMAP_I2C X-Git-Tag: MMI-PSA29.97-13-9~15169 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fbfc23ef905e41cbf621031a3d560a55a010dd54;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Peter Ujfalusi [ Samuel is busy, taking it directly - Linus ] Signed-off-by: Linus Torvalds --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 1c0abd4dfc43..47ad4e270877 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -292,6 +292,7 @@ config TWL4030_CORE bool "Texas Instruments TWL4030/TWL5030/TWL6030/TPS659x0 Support" depends on I2C=y && GENERIC_HARDIRQS select IRQ_DOMAIN + select REGMAP_I2C help Say yes here if you have TWL4030 / TWL6030 family chip on your board. This core driver provides register access and IRQ handling