Commit 02532cb8 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: rt4801: Select REGMAP_I2C to fix build error

Fix build error when CONFIG_REGMAP_I2C is not set.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200819085959.1914471-1-axel.lin@ingics.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8bdaa438
......@@ -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).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment