aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorRaghavendra Ganiga <ravi23ganiga@gmail.com>2014-06-06 17:36:00 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:08:08 -0400
commit0dd449b1626c3db6b40fc2c7685bf9b0ac79ce00 (patch)
treefe4564b32aed88fa1cd9c6587387162aaddcce9f /drivers/rtc
parent1d6316f56d04a10f39621088f3b672a3c5528b80 (diff)
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 <ravi23ganiga@gmail.com> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
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
574 will be called rtc-ds1305. 574 will be called rtc-ds1305.
575 575
576config RTC_DRV_DS1343 576config RTC_DRV_DS1343
577 select REGMAP_SPI
577 tristate "Dallas/Maxim DS1343/DS1344" 578 tristate "Dallas/Maxim DS1343/DS1344"
578 help 579 help
579 If you say yes here you get support for the 580 If you say yes here you get support for the