diff options
author | Shawn Guo <shawnguo@kernel.org> | 2015-07-13 03:58:51 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-08-11 11:04:47 -0400 |
commit | 8a0fa1843638c5078e6606114ed8bdf9ea56fab1 (patch) | |
tree | fd3c88e1a00b33553220129c7ff84aaa8f01b1a1 | |
parent | 709bc0657fe6f9f55fdaab246135ff73ba7796e4 (diff) |
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'
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>
-rw-r--r-- | drivers/rtc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
1523 | 1523 | ||
1524 | config RTC_DRV_SNVS | 1524 | config RTC_DRV_SNVS |
1525 | tristate "Freescale SNVS RTC support" | 1525 | tristate "Freescale SNVS RTC support" |
1526 | select REGMAP_MMIO | ||
1526 | depends on HAS_IOMEM | 1527 | depends on HAS_IOMEM |
1527 | depends on OF | 1528 | depends on OF |
1528 | help | 1529 | help |