mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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: 959df7778b ("rtc: Enable compile testing for Maxim and Samsung drivers")
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
239670e85c
commit
d8a9db6dfa
1 changed files with 1 additions and 0 deletions
|
|
@ -683,6 +683,7 @@ config RTC_DRV_S5M
|
|||
tristate "Samsung S2M/S5M series"
|
||||
depends on MFD_SEC_CORE || COMPILE_TEST
|
||||
select REGMAP_IRQ
|
||||
select REGMAP_I2C
|
||||
help
|
||||
If you say yes here you will get support for the
|
||||
RTC of Samsung S2MPS14 and S5M PMIC series.
|
||||
|
|
|
|||
Loading…
Reference in a new issue