aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-02-08 11:01:03 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-02-08 12:08:39 +0100
commit7dd63ec076cfc1a7c46742e2d820554a6fb42fc6 (patch)
treea0c48be248275d033dc35d2eb5e63659e29400f0 /drivers/rtc/Kconfig
parente42280886018c6f77f0a90190f7cba344b0df3e0 (diff)
downloadlinux-7dd63ec076cfc1a7c46742e2d820554a6fb42fc6.tar.gz
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>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index faa9ae1a30622..8f6735e0ff14d 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