From: Henry Chen Date: Tue, 17 Nov 2015 08:36:49 +0000 (+0800) Subject: regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aab3c3f34cc2dd8230052770712606d65de6538f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- 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.