Re: [PATCH] regulator: rt4801: Select REGMAP_I2C to fix build error

2020-08-19 Thread Mark Brown
On Wed, 19 Aug 2020 16:59:59 +0800, Axel Lin wrote:
> 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


[PATCH] regulator: rt4801: Select REGMAP_I2C to fix build error

2020-08-19 Thread Axel Lin
Fix build error when CONFIG_REGMAP_I2C is not set.

Signed-off-by: Axel Lin 
---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index ebce11cbab44..f719ed5a8c33 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -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).
-- 
2.25.1