linux/drivers/staging/gdm72xx
Arnd Bergmann 2bc29a1abc staging: gdm72xx: Replace timeval with ktime_t
struct sdu_stamp in the gdm_sdio.h is a timeval type.
'struct timeval now' is used for calculating elapsed time.

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 gdm72xx driver to use ktime_t.

ktime_get() is  better than using do_gettimeofday(),
because it uses the monotonic clock. ktime_sub
are used to subtract two ktime variables.

Build tested this by saying Y to WIMAX_GDM72XX.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-26 17:13:33 -08:00
..
gdm_qos.c staging: gdm72xx:Add space around '<<' 2015-11-15 20:02:47 -08:00
gdm_qos.h
gdm_sdio.c staging: gdm72xx: Replace timeval with ktime_t 2015-12-26 17:13:33 -08:00
gdm_sdio.h staging: gdm72xx: Replace timeval with ktime_t 2015-12-26 17:13:33 -08:00
gdm_usb.c staging: gdm72xx: NULL comparison style 2015-09-12 18:24:53 -07:00
gdm_usb.h
gdm_wimax.c staging: gdm72xx: Remove wrapper function 2015-11-15 20:02:47 -08:00
gdm_wimax.h
hci.h
Kconfig PM / Kconfig: Replace PM_RUNTIME with PM in dependencies 2014-12-13 00:44:04 +01:00
Makefile
netlink_k.c staging: gdm72xx: Fix typos in printk 2015-05-31 11:47:56 +09:00
netlink_k.h
sdio_boot.c staging: gdm72xx: NULL comparison style 2015-09-12 18:24:53 -07:00
sdio_boot.h
TODO
usb_boot.c staging: gdm72xx: NULL comparison style 2015-09-12 18:24:53 -07:00
usb_boot.h
usb_ids.h Staging: gdm72xx: usb_ids: fix a macro coding style error 2015-08-14 18:56:55 -07:00
wm_ioctl.h