Commit 1ad5f07d authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Fix the type of set_rtc_time

parent 93b31732
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment