rtc: Kconfig: select REGMAP_I2C when necessary
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 27 Jan 2020 22:17:24 +0000 (23:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:37:03 +0000 (08:37 +0100)
commit105542cea2ea383ba5ff969e3b704a92de66f935
tree2f93bfb80dd44fbfddb2a9cb67eb5ca4bf0fcfe3
parentcea9007ebb956945f1fb4a4922cdca837e09ef06
rtc: Kconfig: select REGMAP_I2C when necessary

[ Upstream commit 578c2b661e2b1b474ea3571a3c3c6d57bae89e8d ]

Some i2c RTC drivers are using regmap but are not selecting REGMAP_I2C
which may lead to build failures.

Link: https://lore.kernel.org/r/20200127221724.10160-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/Kconfig