X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fetin%2Fdebris%2Fphantom.c;h=263da6b7c966c7b1d94501a482d66e7822700330;hb=b73a19e1609d0f705cbab8014ca17aefe89e4c76;hp=18ab5005ef4bc2bbb29a13a0256a8c3bfd458996;hpb=23e20aa6488e6c0622496549861bfdc74108debe;p=u-boot diff --git a/board/etin/debris/phantom.c b/board/etin/debris/phantom.c index 18ab5005ef..263da6b7c9 100644 --- a/board/etin/debris/phantom.c +++ b/board/etin/debris/phantom.c @@ -182,7 +182,7 @@ static int get_century_flag(void) return flag; } -void rtc_get( struct rtc_time *tmp) +int rtc_get( struct rtc_time *tmp) { if (phantom_flag < 0) phantom_flag = get_phantom_flag(); @@ -250,6 +250,8 @@ void rtc_get( struct rtc_time *tmp) tmp->tm_yday = 0; tmp->tm_isdst= 0; } + + return 0; } void rtc_set( struct rtc_time *tmp )