mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: max8893: Select REGMAP_I2C to fix build error
@ 2021-06-22 14:15 Axel Lin
  2021-06-23 16:08 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2021-06-22 14:15 UTC (permalink / raw)
  To: Mark Brown; +Cc: Sergey Larin, Liam Girdwood, linux-kernel, Axel Lin

Fix build error if REGMAP_I2C is not set.

Signed-off-by: Axel Lin <axel.lin@ingics.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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-23 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 14:15 [PATCH] regulator: max8893: Select REGMAP_I2C to fix build error Axel Lin
2021-06-23 16:08 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®