]> git.sur5r.net Git - u-boot/blobdiff - board/etin/debris/phantom.c
LWMON5: POST RTC fix
[u-boot] / board / etin / debris / phantom.c
index 18ab5005ef4bc2bbb29a13a0256a8c3bfd458996..263da6b7c966c7b1d94501a482d66e7822700330 100644 (file)
@@ -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 )