rtc: s5m: select REGMAP_I2C
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Jan 2021 10:22:17 +0000 (11:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:37:57 +0000 (11:37 +0100)
commit31c9ba0c38bcfc515fd31b6d0a1167844c061631
treea2031b62a6168320a05277d1829d07bce6401dc6
parent28c05164b72ffb63f67348d0c19bc3e92f4ac755
rtc: s5m: select REGMAP_I2C

[ Upstream commit 1f0cbda3b452b520c5f3794f8f0e410e8bc7386a ]

The rtc-s5m uses the I2C regmap but doesn't select it in Kconfig so
depending on the configuration the build may fail. Fix it.

Fixes: 959df7778bbd ("rtc: Enable compile testing for Maxim and Samsung drivers")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210114102219.23682-2-brgl@bgdev.pl
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/Kconfig