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 34514d0..82dd969 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;