diff options
Diffstat (limited to 'drivers/rtc/mxsrtc.c')
-rw-r--r-- | drivers/rtc/mxsrtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mxsrtc.c b/drivers/rtc/mxsrtc.c index 32ba8a3062c..82c2fbfde04 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; } |