Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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")
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

+1
+1
drivers/rtc/Kconfig
··· 1698 1698 1699 1699 config RTC_DRV_IMX_SC 1700 1700 depends on IMX_SCU 1701 + depends on HAVE_ARM_SMCCC 1701 1702 tristate "NXP i.MX System Controller RTC support" 1702 1703 help 1703 1704 If you say yes here you get support for the NXP i.MX System