[PATCH] rtc: snvs: select option REGMAP_MMIO

Shawn Guo shawnguo at kernel.org
Mon Jul 13 01:11:15 PDT 2015


Select REGMAP_MMIO to fix the following build error seen with x86_64
randconfig.

  drivers/built-in.o: In function `snvs_rtc_probe':
rtc-snvs.c:(.text+0x567730): undefined reference to `devm_regmap_init_mmio_clk'

Reported-by: kbuild test robot <fengguang.wu at intel.com>
Signed-off-by: Shawn Guo <shawnguo at kernel.org>
---
This is a fix to patch "rtc: snvs: use syscon to access register",
which I queued on IMX tree for 4.3.  So I will apply it to the same
branch.

Shawn

 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 83b4b89b9d5a..533bfa3b6039 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1523,6 +1523,7 @@ config RTC_DRV_MXC
 
 config RTC_DRV_SNVS
 	tristate "Freescale SNVS RTC support"
+	select REGMAP_MMIO
 	depends on HAS_IOMEM
 	depends on OF
 	help
-- 
1.9.1




More information about the linux-arm-kernel mailing list