]> git.hungrycats.org Git - linux/commitdiff
PPC32: Fix the type of set_rtc_time
authorPaul Mackerras <paulus@samba.org>
Wed, 28 Aug 2002 07:47:53 +0000 (17:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Aug 2002 07:47:53 +0000 (17:47 +1000)
include/asm-ppc/rtc.h

index 72b164039fe6a3c4cc9f5ee3dd75be1b705b4f54..8421a2e5156c3e2fc1c1010d939840056bc4c4e9 100644 (file)
@@ -58,7 +58,7 @@ static inline void get_rtc_time(struct rtc_time *time)
 }
 
 /* Set the current date and time in the real time clock. */
-static inline void set_rtc_time(struct rtc_time *time)
+static inline int set_rtc_time(struct rtc_time *time)
 {
        if (ppc_md.get_rtc_time) {
                unsigned long nowtime;