public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C
@ 2015-11-17  8:36 Henry Chen
  2015-11-17 10:09 ` Matthias Brugger
  2015-11-17 18:54 ` Applied "regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C" to the regulator tree Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Henry Chen @ 2015-11-17  8:36 UTC (permalink / raw)
  To: Mark Brown
  Cc: Liam Girdwood, Matthias Brugger, linux-arm-kernel, linux-kernel,
	linux-mediatek, henryc.chen, eddie.huang

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>
---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 8df0b0e..0067620 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.
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-17 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17  8:36 [PATCH] regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C Henry Chen
2015-11-17 10:09 ` Matthias Brugger
2015-11-17 10:55   ` Mark Brown
2015-11-17 18:54 ` Applied "regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C" to the regulator tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox