prism54: isl_38xx: Replace 'struct timeval'
authorTina Ruchandani <ruchandani.tina@gmail.com>
Wed, 13 Apr 2016 06:09:16 +0000 (23:09 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Apr 2016 09:09:17 +0000 (12:09 +0300)
commit706a527ca32b3bf950754631fa42982c0f1c060b
tree22346b7fbb16738c0be97983e94ec09e389441f2
parente4c8b456c53d4beee5adaf5768c762171e2244f3
prism54: isl_38xx: Replace 'struct timeval'

'struct timeval' uses a 32-bit seconds field which will overflow in
year 2038 and beyond. This patch is part of a larger effort to remove
all instances of 'struct timeval' from the kernel and replace them
with 64-bit timekeeping variables.
The patch also fixes the debug printf specifier to avoid the
seconds value being truncated.
The patch was build-tested / debugged by removing the
"if VERBOSE > SHOW_ERROR_MESSAGES" guards.

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/prism54/isl_38xx.c