X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Frtc%2Fpl031.c;h=c4d1259a898d2e885eea0d76a6f16ad1c07e7434;hb=7df546a653462c91bc88bf9bf465ff2e39fde59e;hp=11cc719828d6ac65499436a26473062b2df03ab5;hpb=3be2bdf5dc69b3142c1162a59bc67191c9077567;p=u-boot diff --git a/drivers/rtc/pl031.c b/drivers/rtc/pl031.c index 11cc719828..c4d1259a89 100644 --- a/drivers/rtc/pl031.c +++ b/drivers/rtc/pl031.c @@ -73,7 +73,7 @@ int rtc_set(struct rtc_time *tmp) /* Calculate number of seconds this incoming time represents */ tim = mktime(tmp->tm_year, tmp->tm_mon, tmp->tm_mday, - tmp->tm_hour, tmp->tm_min, tmp->tm_sec); + tmp->tm_hour, tmp->tm_min, tmp->tm_sec); RTC_WRITE_REG(RTC_LR, tim);