]> 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)
commit55d67de9f8044b24a2aef8621494bfc777091779
tree94aad7122be980594f979491f739bf6f3513f91c
parent23dda7a3a14b042b6c4b671fb7e33e1db2d95df1
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