summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-09 00:59:39 +0200
committerWolfgang Denk <wd@denx.de>2008-09-09 02:16:20 +0200
commit13b4db0e2107175a8622ebb48529fa3ad8e12c75 (patch)
tree2cdf815aa45a8e5ca249e7c9236e0b21ac425578
parent1bb8b2ef2722bbaea3cc5d46321ce1d99f9b56f7 (diff)
downloadu-boot-imx-13b4db0e2107175a8622ebb48529fa3ad8e12c75.zip
u-boot-imx-13b4db0e2107175a8622ebb48529fa3ad8e12c75.tar.gz
u-boot-imx-13b4db0e2107175a8622ebb48529fa3ad8e12c75.tar.bz2
rs5c372: fix rtc_set prototype
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--drivers/rtc/rs5c372.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rs5c372.c b/drivers/rtc/rs5c372.c
index 34514d0..82dd969 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;