mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
commitdc4a264e8c427223541d96130edc3f9103fbcd3f
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 29 Jul 2016 19:29:15 +0000 (29 21:29 +0200)
committerJiri Slaby <jslaby@suse.cz>
Mon, 17 Oct 2016 07:46:19 +0000 (17 09:46 +0200)
treec5a76d60e222a164abb231e9763737b0905fd359
parentb13589e8b0ec18ce4efc9e67b20bf06c341608c3
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: Jiri Slaby <jslaby@suse.cz>
drivers/mfd/Kconfig