]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rtc: fix build error
authorRaghavendra Ganiga <ravi23ganiga@gmail.com>
Thu, 22 May 2014 00:43:51 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:51 +0000 (10:43 +1000)
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>
drivers/rtc/Kconfig

index a2f5b31f40d356e080cabdb62e5d94c952c7258e..a27958de11ff9398177de11b7817e61faedd37a4 100644 (file)
@@ -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