diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-09-09 00:59:39 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-09 02:16:20 +0200 |
commit | 13b4db0e2107175a8622ebb48529fa3ad8e12c75 (patch) | |
tree | 2cdf815aa45a8e5ca249e7c9236e0b21ac425578 | |
parent | 1bb8b2ef2722bbaea3cc5d46321ce1d99f9b56f7 (diff) |
rs5c372: fix rtc_set prototype
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r-- | drivers/rtc/rs5c372.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rs5c372.c b/drivers/rtc/rs5c372.c index 34514d037d..82dd9694e6 100644 --- a/drivers/rtc/rs5c372.c +++ b/drivers/rtc/rs5c372.c @@ -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; |