linux-mips
[Top] [All Lists]

Re: rtc_[gs]et_time()

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: rtc_[gs]et_time()
From: Brian Murphy <brian@murphy.dk>
Date: Tue, 15 Apr 2003 11:09:43 +0200
Cc: Linux/MIPS Development <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.4.21.0304151021320.26578-100000@vervain.sonytel.be>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
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 ;-).

/Brian

LASAT port maintainer.


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