mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
rtc: pcf2123: Fix build error
If REGMAP_SPI is m and RTC_DRV_PCF2123 is y,
drivers/rtc/rtc-pcf2123.o: In function `pcf2123_probe':
rtc-pcf2123.c:(.text+0xb2b): undefined reference to `__devm_regmap_init_spi'
Select REGMAP_SPI as RTC_DRV_DS1347 driver does.
Reported-by: Hulk Robot <[email protected]>
Fixes: 790d033933 ("rtc: pcf2123: port to regmap")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
3126790d1f
commit
f2f5cb6a73
1 changed files with 1 additions and 0 deletions
|
|
@ -811,6 +811,7 @@ config RTC_DRV_MAX6902
|
|||
|
||||
config RTC_DRV_PCF2123
|
||||
tristate "NXP PCF2123"
|
||||
select REGMAP_SPI
|
||||
help
|
||||
If you say yes here you get support for the NXP PCF2123
|
||||
RTC chip.
|
||||
|
|
|
|||
Loading…
Reference in a new issue