All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: rt4801: Select REGMAP_I2C to fix build error
@ 2020-08-19  8:59 Axel Lin
  2020-08-19 12:15 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2020-08-19  8:59 UTC (permalink / raw)
  To: Mark Brown; +Cc: ChiYuan Huang, Liam Girdwood, linux-kernel, Axel Lin

Fix build error when CONFIG_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 ebce11cbab44..f719ed5a8c33 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -907,6 +907,7 @@ config REGULATOR_ROHM
 config REGULATOR_RT4801
 	tristate "Richtek RT4801 Regulators"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  This adds support for voltage regulators in Richtek RT4801 Display Bias IC.
 	  The device supports two regulators (DSVP/DSVN).
-- 
2.25.1


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

end of thread, other threads:[~2020-08-19 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19  8:59 [PATCH] regulator: rt4801: Select REGMAP_I2C to fix build error Axel Lin
2020-08-19 12:15 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.