All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rtc.h fix
@ 2006-04-04 15:15 Ralf Rösch
  2006-04-04 16:00 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Rösch @ 2006-04-04 15:15 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

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;
  }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtc.h fix
  2006-04-04 15:15 [PATCH] rtc.h fix Ralf Rösch
@ 2006-04-04 16:00 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2006-04-04 16:00 UTC (permalink / raw)
  To: Ralf Rösch; +Cc: linux-mips

On Tue, Apr 04, 2006 at 05:15:14PM +0200, Ralf Rösch wrote:

> patch below makes genrtc.c compilable again
> 
> Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>

Hand-applied, your mailer did something bad to this patch ...

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-04 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04 15:15 [PATCH] rtc.h fix Ralf Rösch
2006-04-04 16:00 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.