Skip to content

Commit 1aeb1a7

Browse files
AxelLinbroonie
authored andcommitted
regulator: max8893: Select REGMAP_I2C to fix build error
Fix build error if REGMAP_I2C is not set. Signed-off-by: Axel Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent a336dc8 commit 1aeb1a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/regulator/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ config REGULATOR_MAX8660
581581
config REGULATOR_MAX8893
582582
tristate "Maxim 8893 voltage regulator"
583583
depends on I2C
584+
select REGMAP_I2C
584585
help
585586
This driver controls a Maxim 8893 voltage output
586587
regulator via I2C bus.

0 commit comments

Comments
 (0)