rtc: snvs: select option REGMAP_MMIO
PATCH 1/1 rtc: snvs: select option REGMAP_MMIO
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'
---
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(+)
drivers/rtc/Kconfig +1 -0
@@ -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
Signature · 1 line
1.9.1
PATCH 1/1 rtc: snvs: select option REGMAP_MMIO
Quoted 8 lines · Shawn Guo
Select
REGMAP_MMIOto fix the following build error seen withx86_64randconfig.
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 <[email protected]>Signed-off-by Shawn Guo <[email protected]>
Quoted 30 lines
---
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(+)drivers/rtc/Kconfig +1
-1@@ -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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/1 rtc: snvs: select option REGMAP_MMIO
Quoted 11 lines · Zhi Li
Quoted 8 lines · Shawn Guo
Select
REGMAP_MMIOto fix the following build error seen withx86_64randconfig.
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 <[email protected]>Signed-off-by Shawn Guo <[email protected]>Acked-by Frank Li <[email protected]>
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com