regulator: rt4801: Select REGMAP_I2C to fix build error

Fix build error when CONFIG_REGMAP_I2C is not set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200819085959.1914471-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Axel Lin 2020-08-19 16:59:59 +08:00 committed by Mark Brown
parent 8bdaa43808
commit 02532cb805
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -907,6 +907,7 @@ config REGULATOR_ROHM
config REGULATOR_RT4801 config REGULATOR_RT4801
tristate "Richtek RT4801 Regulators" tristate "Richtek RT4801 Regulators"
depends on I2C depends on I2C
select REGMAP_I2C
help help
This adds support for voltage regulators in Richtek RT4801 Display Bias IC. This adds support for voltage regulators in Richtek RT4801 Display Bias IC.
The device supports two regulators (DSVP/DSVN). The device supports two regulators (DSVP/DSVN).