From 1aeb1a72f330a0fa21610fb44769cd0e68379418 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 22 Jun 2021 22:15:26 +0800 Subject: [PATCH] regulator: max8893: Select REGMAP_I2C to fix build error Fix build error if REGMAP_I2C is not set. Signed-off-by: Axel Lin Link: https://lore.kernel.org/r/20210622141526.472175-1-axel.lin@ingics.com Signed-off-by: Mark Brown --- drivers/regulator/Kconfig | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.5