| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] rtc.h fix |
| From: | Ralf Rösch <ralf.roesch@rw-gmbh.de> |
| Date: | Tue, 04 Apr 2006 17:15:14 +0200 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 1.5 (Windows/20051201) |
patch below makes genrtc.c compilable again Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>diff -Nur -X diff-exclude-files-2.6 linux-2.6/include/asm-mips/rtc.h work-2.6/include/asm-mips/rtc.h
--- linux-2.6/include/asm-mips/rtc.h 2006-03-08 14:43:43.000000000 +0100
+++ work-2.6/include/asm-mips/rtc.h 2006-04-04 15:56:38.000000000 +0200
@@ -32,7 +32,7 @@
{
unsigned long nowtime;
- nowtime = rtc_get_time();
+ nowtime = rtc_mips_get_time();
to_tm(nowtime, time);
time->tm_year -= 1900;
@@ -47,7 +47,7 @@
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;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] tx49_blast_icache32_page_indexed fix, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] rtc.h fix, Ralf Baechle |
| Previous by Thread: | JFFS2 error.(SMP8634), Youngduk Goo |
| Next by Thread: | Re: [PATCH] rtc.h fix, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |