[MIPS] Fix genrtc compilation.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 4 Apr 2006 15:59:37 +0000 (16:59 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:22 +0000 (04:14 +0200)
Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/rtc.h

index a2abc4572b638e5bf33cd59f3bdcb121c1d42865..82ad401c7dcae6839d5ea6b0e7181ce6fca84822 100644 (file)
@@ -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;
 }