summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorYu-Tung Chang <mtwget@gmail.com>2021-08-30 08:25:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-26 15:09:02 +0300
commit647c19bc61023b305389f5b027b2f7edab0feca2 (patch)
treef91cf5588381a438f8e4d91d87dd808947fd30b6 /drivers/rtc
parent9a14014df72d00d87a199e1f77896f7ea62cc126 (diff)
downloadlinux-647c19bc61023b305389f5b027b2f7edab0feca2.tar.xz
rtc: rx8010: select REGMAP_I2C
[ Upstream commit 0c45d3e24ef3d3d87c5e0077b8f38d1372af7176 ] 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> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210830052532.40356-1-mtwget@gmail.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 33e4ecd6c665..54cf5ec8f401 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.