From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 8 Sep 2008 22:59:39 +0000 (+0200) Subject: rs5c372: fix rtc_set prototype X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13b4db0e2107175a8622ebb48529fa3ad8e12c75;p=project%2Fbcm63xx%2Fu-boot.git rs5c372: fix rtc_set prototype Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- 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;