Skip to content

Commit

Permalink
regulator: max8893: Select REGMAP_I2C to fix build error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AxelLin authored and broonie committed Jun 23, 2021
1 parent a336dc8 commit 1aeb1a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1aeb1a7

Please sign in to comment.