summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>2015-10-02 20:24:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 11:32:56 +0300
commit851f7c0e62dc564bf99e295b3c498d3d96a73b4a (patch)
tree53e90ab77e040afa5947e754fcf6e9acb2fe34d7 /include/linux/platform_data
parent51abf45c23872df0a43dbe849eb4439ebda6145f (diff)
downloadlinux-851f7c0e62dc564bf99e295b3c498d3d96a73b4a.tar.xz
Staging: olpc_dcon: Replace timespec with ktime_t
Struct timespec will overflow in year 2038, here it will not cause an overflow because it is used with timespec_sub, but still has to be removed as part of y2038 changes. Replace it with ktime_t. Also use monotonic instead of real-time by replacing functions getnstimeofday with ktime_get. Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions