# \[PATCH\] rtc: rx8010: select REGMAP\_I2C

- From: Yu-Tung Chang \<hidden\>
- Date: 2021-08-30 05:25:43 
- List: linux-rtc
- Page: https://ratatoskr.run/linux-rtc/2021/08/1491804
- Thread: https://ratatoskr.run/linux-rtc/2021/08/1491804/t.md

```text
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 <redacted>
---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
-- 
2.33.0

```
