[media] pvrusb2: Use LINUX_VERSION_CODE for VIDIOC_QUERYCAP
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 25 Jun 2011 16:34:24 +0000 (13:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:15 +0000 (17:53 -0300)
commit083774d8b164b87c5595ead0b752236cfd5bf761
tree527b10227af77134d24732d88d71cb35ff028a35
parent5204cebadd09c5bd7e4fc194b9dfaba9e40c0361
[media] pvrusb2: Use LINUX_VERSION_CODE for VIDIOC_QUERYCAP

pvrusb2 doesn't use vidioc_ioctl2. As the API is changing to use
a common version for all drivers, we need to expliticly fix this
driver.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-main.c
drivers/media/video/pvrusb2/pvrusb2-v4l2.c