diff options
Diffstat (limited to 'drivers/rtc/mx27rtc.c')
-rw-r--r-- | drivers/rtc/mx27rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mx27rtc.c b/drivers/rtc/mx27rtc.c index ae6595b860..7ba74d3b11 100644 --- a/drivers/rtc/mx27rtc.c +++ b/drivers/rtc/mx27rtc.c @@ -30,7 +30,7 @@ int rtc_get(struct rtc_time *time) sec += min * 60 + hour * 3600 + day * 24 * 3600; - to_tm(sec, time); + rtc_to_tm(sec, time); return 0; } |