From: Somya Anand Date: Thu, 23 Oct 2014 19:28:38 +0000 (+0200) Subject: Staging: android: Replace timeval with ktime_t in timed_gpio.c X-Git-Tag: omap-for-v3.20/drop-legacy-3517~70^2~1035 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2b778712e3aa5258fabbb96ed05bcb073a1ce2e;p=pandora-kernel.git Staging: android: Replace timeval with ktime_t in timed_gpio.c 'struct timeval t' is used to return remaining time in milliseconds. 32-bit systems using 'struct timeval' will break in the year 2038, so we have to replace that code with more appropriate types. This patch changes the android driver to use ktime_t. Signed-off-by: Somya Anand Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed