Skip to contentSkip to conversation

regulator: rt4801: Select REGMAP_I2C to fix build error

PATCH In review Axel Lin 2 participants 2 messages Aug 19, 2020 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: rt4801: Select REGMAP_I2C to fix build error

Fix build error when CONFIG_REGMAP_I2C is not set.

---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/Kconfig +1 -0
index ebce11cbab44..f719ed5a8c33 100644
@@ -907,6 +907,7 @@ config REGULATOR_ROHM
 config REGULATOR_RT4801
 	tristate "Richtek RT4801 Regulators"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  This adds support for voltage regulators in Richtek RT4801 Display Bias IC.
 	  The device supports two regulators (DSVP/DSVN).
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 1 line · Axel Lin

Fix build error when CONFIG_REGMAP_I2C is not set.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: rt4801: Select REGMAP_I2C to fix build error

      commit: 02532cb80543b50611656a6017bfec7477e2e200

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