linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: snvs: select option REGMAP_MMIO
@ 2015-07-13  8:11 Shawn Guo
  2015-07-13 14:48 ` Zhi Li
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2015-07-13  8:11 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] rtc: snvs: select option REGMAP_MMIO
  2015-07-13  8:11 [PATCH] rtc: snvs: select option REGMAP_MMIO Shawn Guo
@ 2015-07-13 14:48 ` Zhi Li
  2015-07-13 15:07   ` Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Zhi Li @ 2015-07-13 14:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 13, 2015 at 3:11 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> 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>

> ---
> 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
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] rtc: snvs: select option REGMAP_MMIO
  2015-07-13 14:48 ` Zhi Li
@ 2015-07-13 15:07   ` Alexandre Belloni
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2015-07-13 15:07 UTC (permalink / raw)
  To: linux-arm-kernel

On 13/07/2015 at 09:48:33 -0500, Zhi Li wrote :
> On Mon, Jul 13, 2015 at 3:11 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> > 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>


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-13 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13  8:11 [PATCH] rtc: snvs: select option REGMAP_MMIO Shawn Guo
2015-07-13 14:48 ` Zhi Li
2015-07-13 15:07   ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).