summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Chen <henryc.chen@mediatek.com>2015-11-17 09:36:49 +0100
committerMark Brown <broonie@kernel.org>2015-11-17 15:29:54 +0100
commitaab3c3f34cc2dd8230052770712606d65de6538f (patch)
treee61277d69fe8e0898e9222d0ba4a0eea189b2e7d
parentLinux 4.4-rc1 (diff)
downloadlinux-aab3c3f34cc2dd8230052770712606d65de6538f.tar.xz
linux-aab3c3f34cc2dd8230052770712606d65de6538f.zip
regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C
This patch fix the below build error: drivers/regulator/mt6311-regulator.c:111: undefined reference to `__devm_regmap_init_i2c' Signed-off-by: Henry Chen <henryc.chen@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
-rw-r--r--drivers/regulator/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 8df0b0e62976..00676208080e 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -446,6 +446,7 @@ config REGULATOR_MC13892
config REGULATOR_MT6311
tristate "MediaTek MT6311 PMIC"
depends on I2C
+ select REGMAP_I2C
help
Say y here to select this option to enable the power regulator of
MediaTek MT6311 PMIC.