Linux-RTC Archive on lore.kernel.org
 help / Atom feed
* [PATCH] rtc: imx-sc: depend on HAVE_ARM_SMCCC
@ 2019-02-08 10:05 Alexandre Belloni
  2019-02-08 10:58 ` Anson Huang
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Belloni @ 2019-02-08 10:05 UTC (permalink / raw)
  To: linux-rtc; +Cc: Anson Huang, linux-kernel, Alexandre Belloni

Fix the following build issue:

drivers/rtc/rtc-imx-sc.o: In function `imx_sc_rtc_set_time':
>> rtc-imx-sc.c:(.text+0x212): undefined reference to `__arm_smccc_smc'

Fixes: 13a929f38ad7 ("rtc: imx-sc: add rtc set time support")
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index faa9ae1a3062..8f6735e0ff14 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1698,6 +1698,7 @@ config RTC_DRV_SNVS
 
 config RTC_DRV_IMX_SC
 	depends on IMX_SCU
+	depends on HAVE_ARM_SMCCC
 	tristate "NXP i.MX System Controller RTC support"
 	help
 	   If you say yes here you get support for the NXP i.MX System
-- 
2.20.1


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

* RE: [PATCH] rtc: imx-sc: depend on HAVE_ARM_SMCCC
  2019-02-08 10:05 [PATCH] rtc: imx-sc: depend on HAVE_ARM_SMCCC Alexandre Belloni
@ 2019-02-08 10:58 ` Anson Huang
  0 siblings, 0 replies; 2+ messages in thread
From: Anson Huang @ 2019-02-08 10:58 UTC (permalink / raw)
  To: Alexandre Belloni, linux-rtc; +Cc: linux-kernel



Best Regards!
Anson Huang

> -----Original Message-----
> From: Alexandre Belloni [mailto:alexandre.belloni@bootlin.com]
> Sent: 2019Äê2ÔÂ8ÈÕ 18:06
> To: linux-rtc@vger.kernel.org
> Cc: Anson Huang <anson.huang@nxp.com>; linux-kernel@vger.kernel.org;
> Alexandre Belloni <alexandre.belloni@bootlin.com>
> Subject: [PATCH] rtc: imx-sc: depend on HAVE_ARM_SMCCC
> 
> Fix the following build issue:
> 
> drivers/rtc/rtc-imx-sc.o: In function `imx_sc_rtc_set_time':
> >> rtc-imx-sc.c:(.text+0x212): undefined reference to `__arm_smccc_smc'
> 
> Fixes: 13a929f38ad7 ("rtc: imx-sc: add rtc set time support")
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> ---
>  drivers/rtc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index
> faa9ae1a3062..8f6735e0ff14 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -1698,6 +1698,7 @@ config RTC_DRV_SNVS
> 
>  config RTC_DRV_IMX_SC
>  	depends on IMX_SCU
> +	depends on HAVE_ARM_SMCCC
>  	tristate "NXP i.MX System Controller RTC support"
>  	help
>  	   If you say yes here you get support for the NXP i.MX System
> --
> 2.20.1

Sorry for the mistake.

Reviewed-by: Anson Huang <Anson.Huang@nxp.com>


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 10:05 [PATCH] rtc: imx-sc: depend on HAVE_ARM_SMCCC Alexandre Belloni
2019-02-08 10:58 ` Anson Huang

Linux-RTC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rtc/0 linux-rtc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rtc linux-rtc/ https://lore.kernel.org/linux-rtc \
		linux-rtc@vger.kernel.org linux-rtc@archiver.kernel.org
	public-inbox-index linux-rtc


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rtc


AGPL code for this site: git clone https://public-inbox.org/ public-inbox