]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/rtc/ftrtc010.c
imx: remove duplicated prototype for fecmxc_initialize() which is already defined...
[karo-tx-uboot.git] / 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();