]> git.sur5r.net Git - u-boot/commitdiff
rs5c372: fix rtc_set prototype
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 8 Sep 2008 22:59:39 +0000 (00:59 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Sep 2008 00:16:20 +0000 (02:16 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/rtc/rs5c372.c

index 34514d037d6497e64a30e16b6670e7a2b9852b31..82dd9694e6f75a3609550d6c5ebee3ca257d8286 100644 (file)
@@ -195,8 +195,7 @@ rtc_get (struct rtc_time *tmp)
 /*
  * Set the RTC
  */
-void
-rtc_set (struct rtc_time *tmp)
+int rtc_set (struct rtc_time *tmp)
 {
        unsigned char buf[8], reg15;
        int ret;