rs5c372: fix rtc_set prototype

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2008-09-09 00:59:39 +02:00 committed by Wolfgang Denk
parent 1bb8b2ef27
commit 13b4db0e21
1 changed files with 1 additions and 2 deletions

View 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;