Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dd63ec0 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: 13a929f3 ("rtc: imx-sc: add rtc set time support")
Reviewed-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent e4228088
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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