diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-04-04 16:59:37 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-19 04:14:22 +0200 |
commit | a682a2417007ad6265cd71b97b751753fd10e2fb (patch) | |
tree | 94c7a0d3c768de47d0b3651830dff463308a1770 | |
parent | 193dd2ce2a4a1c5b2e7814544572424d497069db (diff) | |
download | op-kernel-dev-a682a2417007ad6265cd71b97b751753fd10e2fb.zip op-kernel-dev-a682a2417007ad6265cd71b97b751753fd10e2fb.tar.gz |
[MIPS] Fix genrtc compilation.
Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | include/asm-mips/rtc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/rtc.h b/include/asm-mips/rtc.h index a2abc45..82ad401 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; } |