Skip to contentSkip to conversation

regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C

PATCH In review Henry Chen 3 participants 4 messages Nov 17, 2015

Subsystems (3)
lore
Share & tools
lore

Henry Chen

author
#0 lore raw

PATCH 1/1 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'

---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/Kconfig +1 -0
index 8df0b0e..0067620 100644
@@ -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.
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 14 lines · Henry Chen

This patch fix the below build error:
drivers/regulator/mt6311-regulator.c:111: undefined reference to `__devm_regmap_init_i2c'

---
  drivers/regulator/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/regulator/Kconfig +0 -0
index 8df0b0e..0067620 100644

drivers/regulator/Kconfig config REGULATOR_MC13892 · line 452

Quoted 7 lines
drivers/regulator/Kconfig +1 -0
@@ -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.

This should also be added to v4.3
I propose that you resend it adding the tag:
Cc: stable at vger.kernel.org

as explained in Documentation/stable_kernel_rules.txt

Regards,
Matthias

maintainer
#2 lore raw
Quoted 5 lines · Matthias Brugger

This should also be added to v4.3
I propose that you resend it adding the tag:
Cc: stable at vger.kernel.org

as explained in Documentation/stable_kernel_rules.txt

Please don't, that just makes more work for me having to deal with two
copies of the mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151117/0bcdbd62/attachment.sig>

maintainer
#3 lore raw

Applied "regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C" to the regulator tree

In reply to Henry Chen

The patch

regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C

has been applied to the regulator tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From aab3c3f34cc2dd8230052770712606d65de6538f Mon Sep 17 00:00:00 2001

From: Henry Chen <[email protected]>
Date: Tue, 17 Nov 2015 16:36:49 +0800
Subject: [PATCH] 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'

---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/Kconfig +1 -0
index 8df0b0e62976..00676208080e 100644
@@ -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.
Signature · 1 line
2.6.2