[PATCH] Staging: rts5208: Replace timeval with timespec64

2015-04-30 Thread Ksenija Stanojevic
struct timeval tv is used to get current time. 32-bit systems using 'struct timeval' will break in the year 2038, so we have to replace that code with more appropriate types. Signed-off-by: Ksenija Stanojevic Reviewed-by: Arnd Bergmann --- drivers/staging/rts5208/rtsx.h | 25

[PATCH] Staging: rts5208: Replace timeval with timespec64

2015-04-30 Thread Ksenija Stanojevic
struct timeval tv is used to get current time. 32-bit systems using 'struct timeval' will break in the year 2038, so we have to replace that code with more appropriate types. Signed-off-by: Ksenija Stanojevic ksenija.stanoje...@gmail.com Reviewed-by: Arnd Bergmann a...@arndb.de ---