summaryrefslogtreecommitdiff
path: root/drivers/rtc/mxsrtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/mxsrtc.c')
-rw-r--r--drivers/rtc/mxsrtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mxsrtc.c b/drivers/rtc/mxsrtc.c
index 32ba8a3062..82c2fbfde0 100644
--- a/drivers/rtc/mxsrtc.c
+++ b/drivers/rtc/mxsrtc.c
@@ -43,7 +43,7 @@ int rtc_get(struct rtc_time *time)
uint32_t secs;
secs = readl(&rtc_regs->hw_rtc_seconds);
- to_tm(secs, time);
+ rtc_to_tm(secs, time);
return 0;
}