aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2021-06-22 22:15:26 +0800
committerMark Brown <[email protected]>2021-06-23 12:34:41 +0100
commit1aeb1a72f330a0fa21610fb44769cd0e68379418 (patch)
treed8716dcc884102511f4a45107f258da92008c115
parenta336dc8f683e5be794186b5643cd34cb28dd2c53 (diff)
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]>
-rw-r--r--drivers/regulator/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 7c39570b99b0..3a71b020ea1c 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -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.