From: Xunlei Pang Date: Thu, 22 Jan 2015 02:31:55 +0000 (+0000) Subject: rtc: Convert rtc_set_ntp_time() to use timespec64 X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~162^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4a445e30f0b601ca2d9433274047cbf48ebf9e;p=pandora-kernel.git rtc: Convert rtc_set_ntp_time() to use timespec64 rtc_set_ntp_time() uses timespec which is y2038-unsafe, so modify to use timespec64 which is y2038-safe, then replace rtc_time_to_tm() with rtc_time64_to_tm(). Also adjust all its call sites(only NTP uses it) accordingly. Cc: pang.xunlei Cc: Arnd Bergmann Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Xunlei Pang Signed-off-by: John Stultz --- Reading git-diff-tree failed