Hi Atsushi, On 6/14/07, Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
On Thu, 14 Jun 2007 12:20:01 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote: > create mode 100644 arch/mips/lib/time.c I think this to_tm() cleanup should be done in separate patch.
I think so. Actually that was something Ralf already did and I wanted to reuse. I'll do that but for now I would like to know if this patch is the right way to go... Anyway thanks for noticing.
Maybe selecting RTC_LIB in Kconfig and replace all to_tm() calls with rtc_time_to_tm(tim, tm); tm->tm_year += 1900; would be enough.
I dunno, but I think that could be part of another patchset if you don't mind. -- Franck