Skip to content

Commit

Permalink
rtc: snvs: select option REGMAP_MMIO
Browse files Browse the repository at this point in the history
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@intel.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Frank Li <Frank.Li@freescale.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
  • Loading branch information
Shawn Guo committed Aug 11, 2015
1 parent 709bc06 commit 8a0fa18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a0fa18

Please sign in to comment.