]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/rtc.h
eSPI: add the eSPI register support
[karo-tx-uboot.git] / include / rtc.h
index 2995144a0dee52a7065a15d761b9b1783190be86..785fbe380797cb029e2d905e9730b44da8320dd4 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
  */
@@ -53,7 +53,7 @@ struct rtc_time {
 };
 
 int rtc_get (struct rtc_time *);
-void rtc_set (struct rtc_time *);
+int rtc_set (struct rtc_time *);
 void rtc_reset (void);
 
 void GregorianDay (struct rtc_time *);