patch below makes genrtc.c compilable again
Signed-off-by: Ralf Roesch <ralf.roesch@xxxxxxxxxx>
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;
}