summaryrefslogtreecommitdiff
path: root/drivers/rtc/imxdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/imxdi.c')
-rw-r--r--drivers/rtc/imxdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/imxdi.c b/drivers/rtc/imxdi.c
index 0d7d736eff..e89034dc0a 100644
--- a/drivers/rtc/imxdi.c
+++ b/drivers/rtc/imxdi.c
@@ -192,7 +192,7 @@ int rtc_get(struct rtc_time *tmp)
}
now = __raw_readl(&data.regs->dtcmr);
- to_tm(now, tmp);
+ rtc_to_tm(now, tmp);
err:
return rc;