From: Xunlei Pang Date: Fri, 12 Jun 2015 02:04:09 +0000 (+0800) Subject: rtc: pcf8563: Replace deprecated rtc_time_to_tm() and rtc_tm_to_time() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~107^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=626fea046b49490cdd8c917911437737c1f904a8;p=pandora-kernel.git rtc: pcf8563: Replace deprecated rtc_time_to_tm() and rtc_tm_to_time() pcf8563_rtc_set_alarm() uses deprecated rtc_tm_to_time() and rtc_time_to_tm(), which will overflow in year 2106 on 32-bit machines. This patch solves this by: - Replacing rtc_time_to_tm() with rtc_time64_to_tm() - Replacing rtc_tm_to_time() with rtc_tm_to_time64() Acked-by: Arnd Bergmann Signed-off-by: Xunlei Pang Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed