TQM85xx: fix typo introduce by commit ffbb5cb9
[oweals/u-boot.git] / include / rtc.h
index 15f3571d7678d9741e5244a37036b02446ff20a1..df2d35fe497b8bf6157ee8d7f0d453b16cd2dd89 100644 (file)
@@ -35,7 +35,7 @@
  * Note that there are small but significant differences to the
  * common "struct time":
  *
- *             struct time:            struct rtc_time:
+ *             struct time:            struct rtc_time:
  * tm_mon      0 ... 11                1 ... 12
  * tm_year     years since 1900        years since 0
  */
@@ -52,7 +52,7 @@ struct rtc_time {
        int tm_isdst;
 };
 
-void rtc_get (struct rtc_time *);
+int rtc_get (struct rtc_time *);
 void rtc_set (struct rtc_time *);
 void rtc_reset (void);