linux-mips
[Top] [All Lists]

Re: rtc_[gs]et_time()

To: Brian Murphy <brian@murphy.dk>
Subject: Re: rtc_[gs]et_time()
From: Ladislav Michl <ladis@linux-mips.org>
Date: Tue, 15 Apr 2003 10:12:38 +0100
Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <3E9BCC57.5070809@murphy.dk>; from brian@murphy.dk on Tue, Apr 15, 2003 at 11:09:43AM +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.4.21.0304151021320.26578-100000@vervain.sonytel.be> <3E9BCC57.5070809@murphy.dk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Tue, Apr 15, 2003 at 11:09:43AM +0200, Brian Murphy wrote:
> Geert Uytterhoeven wrote:
> 
> >This makes it more complex to make drivers/char/genrtc.c work on MIPS, since 
> >usually the date and time have to be converted twice: once from struct 
> >rtc_time
> >to seconds in <asm/rtc.h>, and once from seconds to struct rtc_time in each 
> >RTC
> >driver.
> >
> >Is it OK to make rtc_[gs]et_time() always use struct rtc_time?
> >
> I quite like it the way it is ;-)

While I would like to see rtc_[gs]et_time() always use struct rtc_time ;)

        ladis

<Prev in Thread] Current Thread [Next in Thread>