[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200819085959.1914471-1-axel.lin@ingics.com>
Date: Wed, 19 Aug 2020 16:59:59 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Mark Brown <broonie@...nel.org>
Cc: ChiYuan Huang <cy_huang@...htek.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org, Axel Lin <axel.lin@...ics.com>
Subject: [PATCH] regulator: rt4801: Select REGMAP_I2C to fix build error
Fix build error when CONFIG_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 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
Powered by blists - more mailing lists