From: Raghavendra Ganiga Date: Fri, 6 Jun 2014 21:36:00 +0000 (-0700) Subject: rtc: fix build error X-Git-Tag: v3.16-rc1~82^2~4^2~146 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0dd449b1626c3db6b40fc2c7685bf9b0ac79ce00;p=~emulex%2Finfiniband.git 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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index a2f5b31f40d..a27958de11f 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