From: Axel Lin Date: Tue, 22 Jun 2021 14:15:26 +0000 (+0800) Subject: regulator: max8893: Select REGMAP_I2C to fix build error X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1aeb1a72f330a0fa21610fb44769cd0e68379418;p=linux.git 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 --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 7c39570b99b09..3a71b020ea1c0 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.