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

mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled

This fixes a compile failure:

drivers/built-in.o: In function `wm8350_i2c_probe':
core.c:(.text+0x828b0): undefined reference to `__devm_regmap_init_i2c'
Makefile:953: recipe for target 'vmlinux' failed

Fixes: 52b461b86a9f ("mfd: Add regmap cache support for wm8350")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Uwe Kleine-König and committed by
Lee Jones
88003fb1 37778d83

+1
+1
drivers/mfd/Kconfig
··· 1573 1573 config MFD_WM8350_I2C 1574 1574 bool "Wolfson Microelectronics WM8350 with I2C" 1575 1575 select MFD_WM8350 1576 + select REGMAP_I2C 1576 1577 depends on I2C=y 1577 1578 help 1578 1579 The WM8350 is an integrated audio and power management