firewire: nosy: Replace timeval with timespec64
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 21 Oct 2015 22:35:00 +0000 (04:05 +0530)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 5 Nov 2015 13:21:22 +0000 (14:21 +0100)
commit2ae4b6b20e2004dccf80d804ae52b073377c2f5b
tree3a4efb7ec6f60d06c1a11b5217badbd19d433a9f
parent100ceb66d5c40cc0c7018e06a9474302470be73c
firewire: nosy: Replace timeval with timespec64

32 bit systems using 'struct timeval' will break in the year 2038, so
we replace the code appropriately. However, this driver is not broken
in 2038 since we are using only the microseconds portion of the
current time.

This patch replaces timeval with timespec64.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/nosy.c