[PATCH] regulator: max8893: Select REGMAP_I2C to fix build error

From: Axel Lin
Date: Tue Jun 22 2021 - 10:15:46 EST


Fix build error if REGMAP_I2C is not set.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
---
drivers/regulator/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 55148dd7c6f1..24ce9a17ab4f 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.
--
2.25.1