[media] Staging: media: lirc: Replace timeval with ktime_t
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Fri, 22 May 2015 15:58:42 +0000 (12:58 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 9 Jun 2015 21:45:59 +0000 (18:45 -0300)
commit34668350616d964bfb963561f48f474c4ee119c7
tree8903aa3135df7da7e25f323abaae4f8c6eb88cdc
parentbba795fc0e03c653dedd234b11360efaff35a043
[media] Staging: media: lirc: Replace timeval with ktime_t

'struct timeval last_tv' is used to get the time of last signal change
and 'struct timeval last_intr_tv' is used to get the time of last UART
interrupt.
32-bit systems using 'struct timeval' will break in the year 2038, so we
have to replace that code with more appropriate types.
Here struct timeval is replaced with ktime_t.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/lirc/lirc_sir.c
This page took 0.025121 seconds and 5 git commands to generate.