summaryrefslogtreecommitdiff
path: root/drivers/rtc/ftrtc010.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ftrtc010.c')
-rw-r--r--drivers/rtc/ftrtc010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ftrtc010.c b/drivers/rtc/ftrtc010.c
index 713dad2..3c5d955 100644
--- a/drivers/rtc/ftrtc010.c
+++ b/drivers/rtc/ftrtc010.c
@@ -86,7 +86,7 @@ int rtc_get(struct rtc_time *tmp)
now = ftrtc010_time() + readl(&rtc->record);
#endif
- to_tm(now, tmp);
+ rtc_to_tm(now, tmp);
return 0;
}