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:
parent
a336dc8f68
commit
1aeb1a72f3
drivers/regulator
|
@ -581,6 +581,7 @@ config REGULATOR_MAX8660
|
||||||
config REGULATOR_MAX8893
|
config REGULATOR_MAX8893
|
||||||
tristate "Maxim 8893 voltage regulator"
|
tristate "Maxim 8893 voltage regulator"
|
||||||
depends on I2C
|
depends on I2C
|
||||||
|
select REGMAP_I2C
|
||||||
help
|
help
|
||||||
This driver controls a Maxim 8893 voltage output
|
This driver controls a Maxim 8893 voltage output
|
||||||
regulator via I2C bus.
|
regulator via I2C bus.
|
||||||
|
|
Loading…
Reference in New Issue