summaryrefslogtreecommitdiff
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2020-08-19 11:59:59 +0300
committerMark Brown <broonie@kernel.org>2020-08-19 15:02:11 +0300
commit02532cb80543b50611656a6017bfec7477e2e200 (patch)
tree849c31ff9e17c7f4bde875cae08d9bff531fe2cd /drivers/regulator/Kconfig
parent8bdaa43808b7481eb61b251ae0e4ca308ee1093d (diff)
downloadlinux-02532cb80543b50611656a6017bfec7477e2e200.tar.xz
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>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig1
1 files changed, 1 insertions, 0 deletions
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).