]> git.baikalelectronics.ru Git - kernel.git/commit
media: cec-pin.c: use proper ktime accessor functions
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 1 Sep 2017 08:37:54 +0000 (04:37 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 11:34:48 +0000 (07:34 -0400)
commitb699ff54f3824cd60c294ccf2a951463693b3305
tree94aad7122be980594f979491f739bf6f3513f91c
parent6c1f1bb63cdfd1d0b6b468a5a72161ebf9f12712
media: cec-pin.c: use proper ktime accessor functions

Use ktime_to_ns/ns_to_ktime. This makes it possible to work with older kernels
and the media_build compatibility system.

For the mainline kernel these functions are NOPs.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-pin.c