OSDN Git Service

media: dvb-usb/cxusb-analog.c: fix coccinelle warning, use ktime.h
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 30 May 2019 06:45:48 +0000 (02:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 3 Jun 2019 14:44:24 +0000 (10:44 -0400)
commite867110a9a3241196613816d5bfd4688ebac15bb
tree162aca208af78b43cc071a2469753b3dafe856b2
parent69fbb3f47327d959830c94bf31893972b8c8f700
media: dvb-usb/cxusb-analog.c: fix coccinelle warning, use ktime.h

This patch fixes a coccinelle warning and includes ktime.h instead of
timekeeping.h. The first includes the latter, but the latter doesn't
exist before 3.17, causing problems for our compat build. It's easier
to just use ktime.h instead.

coccinelle warnings: (new ones prefixed by >>)

>> drivers/media/usb/dvb-usb/cxusb-analog.c:1498:41-42: WARNING: Use ARRAY_SIZE

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/dvb-usb/cxusb-analog.c