From: "Ralf Rösch" <ralf.roesch@rw-gmbh.de>
To: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
Subject: [PATCH] rtc.h fix
Date: Tue, 04 Apr 2006 17:15:14 +0200 [thread overview]
Message-ID: <44328D82.1040907@rw-gmbh.de> (raw)
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;
}
next reply other threads:[~2006-04-04 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 15:15 Ralf Rösch [this message]
2006-04-04 16:00 ` [PATCH] rtc.h fix Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44328D82.1040907@rw-gmbh.de \
--to=ralf.roesch@rw-gmbh.de \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox