From: Ralf Baechle Date: Tue, 4 Apr 2006 15:59:37 +0000 (+0100) Subject: [MIPS] Fix genrtc compilation. X-Git-Tag: v2.6.17-rc2~1^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a682a2417007ad6265cd71b97b751753fd10e2fb;p=linux-2.6 [MIPS] Fix genrtc compilation. Signed-off-by: Ralf Roesch Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/rtc.h b/include/asm-mips/rtc.h index a2abc4572b..82ad401c7d 100644 --- a/include/asm-mips/rtc.h +++ b/include/asm-mips/rtc.h @@ -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; @@ -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; }