Skip to content

Commit

Permalink
[MIPS] Fix genrtc compilation.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
ralfbaechle committed Apr 19, 2006
1 parent 193dd2c commit a682a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-mips/rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static inline unsigned int get_rtc_time(struct rtc_time *time)
{
unsigned long nowtime;

nowtime = rtc_get_time();
nowtime = rtc_mips_get_time();
to_tm(nowtime, time);
time->tm_year -= 1900;

Expand All @@ -47,7 +47,7 @@ static inline int set_rtc_time(struct rtc_time *time)
nowtime = mktime(time->tm_year+1900, time->tm_mon+1,
time->tm_mday, time->tm_hour, time->tm_min,
time->tm_sec);
ret = rtc_set_time(nowtime);
ret = rtc_mips_set_time(nowtime);

return ret;
}
Expand Down

0 comments on commit a682a24

Please sign in to comment.