Explorar o código

rs5c372: fix rtc_set prototype

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD %!s(int64=16) %!d(string=hai) anos
pai
achega
13b4db0e21
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      drivers/rtc/rs5c372.c

+ 1 - 2
drivers/rtc/rs5c372.c

@@ -195,8 +195,7 @@ rtc_get (struct rtc_time *tmp)
 /*
 /*
  * Set the RTC
  * Set the RTC
  */
  */
-void
-rtc_set (struct rtc_time *tmp)
+int rtc_set (struct rtc_time *tmp)
 {
 {
 	unsigned char buf[8], reg15;
 	unsigned char buf[8], reg15;
 	int ret;
 	int ret;