[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210622141526.472175-1-axel.lin@ingics.com>
Date: Tue, 22 Jun 2021 22:15:26 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Mark Brown <broonie@...nel.org>
Cc: Sergey Larin <cerg2010cerg2010@...l.ru>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org, Axel Lin <axel.lin@...ics.com>
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 <axel.lin@...ics.com>
---
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
Powered by blists - more mailing lists