[Top] [All Lists]

Re: rtc_[gs]et_time()

To: Geert Uytterhoeven <>
Subject: Re: rtc_[gs]et_time()
From: Brian Murphy <>
Date: Tue, 15 Apr 2003 11:09:43 +0200
Cc: Linux/MIPS Development <>
Original-recipient: rfc822;
References: <>
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

Is it OK to make rtc_[gs]et_time() always use struct rtc_time?

I quite like it the way it is ;-).


LASAT port maintainer.

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