Messages in this thread | | | Date | Sat, 13 Jul 2019 21:31:51 +0200 | From | Alexandre Belloni <> | Subject | Re: [PATCH] rtc: pcf2123: Fix build error |
| |
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. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Fixes: 790d033933b8 ("rtc: pcf2123: port to regmap") > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > drivers/rtc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Applied, thanks.
-- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
| |