summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sunxi_wdt.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-10-19 18:05:48 +0300
committerWim Van Sebroeck <wim@iguana.be>2017-12-28 22:45:12 +0300
commitb6c84c9ff3f48a476451eceb5e8478b8aadda8dc (patch)
tree1380904a407635423caf52480ad944b8c1d4c303 /drivers/watchdog/sunxi_wdt.c
parentfb484262f9ef0d73e0116b942c114bc48c6c7b3b (diff)
downloadlinux-b6c84c9ff3f48a476451eceb5e8478b8aadda8dc.tar.xz
watchdog: xen: use time64_t for timeouts
The Xen watchdog driver uses __kernel_time_t and ktime_to_timespec() internally for managing its timeouts. Both are deprecated because of y2038 problems. The driver itself is fine, since it only uses monotonic times, but converting it to use ktime_get_seconds() avoids the deprecated interfaces and is slightly simpler. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sunxi_wdt.c')
0 files changed, 0 insertions, 0 deletions