The patch below does not apply to the 3.15-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

>From 0dd449b1626c3db6b40fc2c7685bf9b0ac79ce00 Mon Sep 17 00:00:00 2001
From: Raghavendra Ganiga <[email protected]>
Date: Fri, 6 Jun 2014 14:36:00 -0700
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 <[email protected]>
Acked-by: Alessandro Zummo <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

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

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to