Skip to content
Commit 90b02340 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Switch from to_tm to rtc_time_to_tm



This replaces the MIPS-specific to_tm function with the generic
rtc_time_to_tm function.  The big difference between the two functions is
that rtc_time_to_tm uses epoch 70 while to_tm uses 1970, so the result of
rtc_time_to_tm needs to be fixed up.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 4b550488
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment