regulator: max8893: Select REGMAP_I2C to fix build error

Fix build error if REGMAP_I2C is not set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210622141526.472175-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Axel Lin 2021-06-22 22:15:26 +08:00 committed by Mark Brown
parent a336dc8f68
commit 1aeb1a72f3
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -581,6 +581,7 @@ config REGULATOR_MAX8660
config REGULATOR_MAX8893
tristate "Maxim 8893 voltage regulator"
depends on I2C
select REGMAP_I2C
help
This driver controls a Maxim 8893 voltage output
regulator via I2C bus.