]> git.sur5r.net Git - u-boot/blobdiff - drivers/rtc/ftrtc010.c
rockchip: clk: rk3036: add ciu_clk entry for eMMC/SDIO
[u-boot] / drivers / rtc / ftrtc010.c
index 3c5d95594390eef7b20526c03d069ec1f45aa375..7d0cfb3ba8c7320f6102ec533a5dde4e2aded88e 100644 (file)
@@ -104,8 +104,7 @@ int rtc_set(struct rtc_time *tmp)
              tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday,
              tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
 
-       new = mktime(tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_hour,
-                    tmp->tm_min, tmp->tm_sec);
+       new = rtc_mktime(tmp);
 
        now = ftrtc010_time();