Browse Source

[media] pvrusb2: replace .ioctl by .unlocked_ioctl

As far as I can tell pvrusb2 does its own locking, so there is
no need to use .ioctl.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Hans Verkuil 11 years ago
parent
commit
ab91c61129
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/usb/pvrusb2/pvrusb2-v4l2.c

+ 1 - 1
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c

@@ -1247,7 +1247,7 @@ static const struct v4l2_file_operations vdev_fops = {
 	.open       = pvr2_v4l2_open,
 	.open       = pvr2_v4l2_open,
 	.release    = pvr2_v4l2_release,
 	.release    = pvr2_v4l2_release,
 	.read       = pvr2_v4l2_read,
 	.read       = pvr2_v4l2_read,
-	.ioctl      = pvr2_v4l2_ioctl,
+	.unlocked_ioctl = pvr2_v4l2_ioctl,
 	.poll       = pvr2_v4l2_poll,
 	.poll       = pvr2_v4l2_poll,
 };
 };