From: Ebru Akagunduz Date: Wed, 8 Oct 2014 14:09:46 +0000 (+0300) Subject: power: ab8500_fg.c: use 64-bit time types X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~106^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8000ebf76224a01adab9c1c16c341f54706292d5;p=pandora-kernel.git power: ab8500_fg.c: use 64-bit time types This patch changes 32-bit time types to 64-bit in drivers/power/ab8500_fg.c timespec and time_t can only represent signed 32-bit dates but the driver should represent dates that are after January 2038. So used time64.h header file and its proper types and functions. Use time64_t type instead of __kernel_time_t for time_stamps variable of ab8500_fg_avg_cap struct Signed-off-by: Ebru Akagunduz Acked-by: Arnd Bergmann Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed