summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-07-29 21:29:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-16 17:50:37 +0200
commitd074f937912cbfae4fe5334ebbb6fbc715d48b6b (patch)
tree56ef0d4a4201d5a4c16fdd960948d94c3445ab06 /drivers
parent21c02f8700f525e375c2ba21fbfc41c14953f9e5 (diff)
downloadlinux-stable-d074f937912cbfae4fe5334ebbb6fbc715d48b6b.tar.gz
linux-stable-d074f937912cbfae4fe5334ebbb6fbc715d48b6b.tar.bz2
linux-stable-d074f937912cbfae4fe5334ebbb6fbc715d48b6b.zip
mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
commit 88003fb10f1fc606e1704611c62ceae95fd1d7da upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 1bcf601de5bc..26c084da877c 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1535,6 +1535,7 @@ config MFD_WM8350
config MFD_WM8350_I2C
bool "Wolfson Microelectronics WM8350 with I2C"
select MFD_WM8350
+ select REGMAP_I2C
depends on I2C=y
help
The WM8350 is an integrated audio and power management