From ac61f297b1b243b5cdda2ee9d1e1f9c8244d6925 Mon Sep 17 00:00:00 2001 From: Raghavendra Ganiga Date: Thu, 22 May 2014 10:43:51 +1000 Subject: [PATCH] rtc: fix build error Fix the following build errors reported by kbuild test robot by selecting REGMAP_SPI in Kconfig file drivers/built-in.o: In function `ds1343_probe': rtc-ds1343.c:(.text+0x1baf8f): undefined reference to `devm_regmap_init_spi' Signed-off-by: Raghavendra Chandra Ganiga Acked-by: Alessandro Zummo Cc: Signed-off-by: Andrew Morton --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index a2f5b31f40d3..a27958de11ff 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -574,6 +574,7 @@ config RTC_DRV_DS1305 will be called rtc-ds1305. config RTC_DRV_DS1343 + select REGMAP_SPI tristate "Dallas/Maxim DS1343/DS1344" help If you say yes here you get support for the -- 2.39.5