]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cec-pin: Fixed ktime_t to ns conversion
authorJasmin Jessich <jasmin@anw.at>
Sun, 25 Mar 2018 00:29:46 +0000 (20:29 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 4 Apr 2018 10:12:52 +0000 (06:12 -0400)
commit437fba47f48514554c71f3a14ab1d991fd11579e
tree07ddd26673cfac8afd00a9313e6a84a44ac1a982
parent648a9576932a26e1c6a157b4c9345204de975957
media: cec-pin: Fixed ktime_t to ns conversion

Older Kernels use a struct for ktime_t, which requires the conversion
function ktime_to_ns to be used on some places. With this patch it will
compile now also for older Kernel versions.

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