diff mbox series

rtc: rx8010: select REGMAP_I2C

Message ID 20210830052532.40356-1-mtwget@gmail.com
State Accepted
Headers show
Series rtc: rx8010: select REGMAP_I2C | expand

Commit Message

YuTong Chang Aug. 30, 2021, 5:25 a.m. UTC
The rtc-rx8010 uses the I2C regmap but doesn't select it in Kconfig so
depending on the configuration the build may fail. Fix it.

Signed-off-by: Yu-Tung Chang <mtwget@gmail.com>
---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexandre Belloni Sept. 13, 2021, 5:39 p.m. UTC | #1
On Mon, 30 Aug 2021 13:25:32 +0800, Yu-Tung Chang wrote:
> The rtc-rx8010 uses the I2C regmap but doesn't select it in Kconfig so
> depending on the configuration the build may fail. Fix it.
> 
> 

Applied, thanks!

[1/1] rtc: rx8010: select REGMAP_I2C
      commit: 0c45d3e24ef3d3d87c5e0077b8f38d1372af7176

Best regards,
diff mbox series

Patch

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 12153d5801ce..f7bf87097a9f 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -624,6 +624,7 @@  config RTC_DRV_FM3130
 
 config RTC_DRV_RX8010
 	tristate "Epson RX8010SJ"
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for the Epson RX8010SJ RTC
 	  chip.