Re: [PATCH] rtc: pcf2123: Fix build error

2019-07-13 Thread Alexandre Belloni
On 04/07/2019 16:55:42+0800, YueHaibing wrote: > 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. > > Report

[PATCH] rtc: pcf2123: Fix build error

2019-07-04 Thread YueHaibing
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 Fixes: 790d033933b8 ("rtc: pcf2123: port to