]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_date.c
dm: rtc: Rename gregorian day function
[people/ms/u-boot.git] / common / cmd_date.c
index 4a653e5bcfab8e24c35608aa256c8c8161b2b291..dfb9349517325f0bd2525cd4607ee65955096f77 100644 (file)
@@ -201,7 +201,7 @@ int mk_date (const char *datestr, struct rtc_time *tmp)
                tmp->tm_min  = val;
 
                /* calculate day of week */
-               GregorianDay (tmp);
+               rtc_calc_weekday(tmp);
 
                return (0);
        default: