diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-01-22 02:31:51 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2015-01-23 17:21:55 -0800 |
commit | bc10aa93a8853d6dac820696ae9a3e757e19f315 (patch) | |
tree | b07a5dd4ac66d3567e15baeeadf3935a1b7bf8ab /drivers/rtc/rtc-dev.c | |
parent | 2e0c78ee5ba4d777ecf22c8f40cc968b4308ca88 (diff) |
rtc: Update interface.c to use y2038-safe time interfaces
Currently, interface.c uses y2038 problematic rtc_tm_to_time()
and rtc_time_to_tm(). So replace them with their corresponding
y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm().
Cc: pang.xunlei <pang.xunlei@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
0 files changed, 0 insertions, 0 deletions