summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu-Tung Chang <mtwget@gmail.com>2021-08-30 13:25:32 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-26 14:07:14 +0200
commit409cb0b3d45ad6a9b809f9ec77166a02b13740b6 (patch)
treefac5fff4a06abe10aafa44da8e8085c0c5e575fd
parent43832bf76363d7c9730e42a0ddbe3e22772ffcfe (diff)
downloadlinux-stable-409cb0b3d45ad6a9b809f9ec77166a02b13740b6.tar.gz
linux-stable-409cb0b3d45ad6a9b809f9ec77166a02b13740b6.tar.bz2
linux-stable-409cb0b3d45ad6a9b809f9ec77166a02b13740b6.zip
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>
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 9ae7ce3f5069..0ad8d84aeb33 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -625,6 +625,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.