]> git.baikalelectronics.ru Git - kernel.git/commitdiff
rtc: rx8010: select REGMAP_I2C
authorYu-Tung Chang <mtwget@gmail.com>
Mon, 30 Aug 2021 05:25:32 +0000 (13:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Sep 2021 12:07:14 +0000 (14:07 +0200)
[ 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>
drivers/rtc/Kconfig

index 9ae7ce3f50696458c2434d4e1badce68df1a66ae..0ad8d84aeb339d4f26682e26f87133057afc5c7d 100644 (file)
@@ -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.