summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorHenry Chen <henryc.chen@mediatek.com>2015-11-17 16:36:49 +0800
committerMark Brown <broonie@kernel.org>2015-11-17 14:29:54 +0000
commitaab3c3f34cc2dd8230052770712606d65de6538f (patch)
treee61277d69fe8e0898e9222d0ba4a0eea189b2e7d /drivers/regulator
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
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
Diffstat (limited to 'drivers/regulator')
-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.