]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[media] si4713: convert to unlocked_ioctl
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 14 Nov 2010 12:48:24 +0000 (09:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 1 Dec 2010 22:10:08 +0000 (20:10 -0200)
Convert ioctl to unlocked_ioctl. Note that for this driver the locking
is done inside the sub-device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-si4713.c

index 6a435786b63d96ee099aedceee8dca026f9ca935..3a84c3dcc04cc393904721538b8199f9ba3e2d7e 100644 (file)
@@ -53,7 +53,8 @@ struct radio_si4713_device {
 /* radio_si4713_fops - file operations interface */
 static const struct v4l2_file_operations radio_si4713_fops = {
        .owner          = THIS_MODULE,
-       .ioctl          = video_ioctl2,
+       /* Note: locking is done at the subdev level in the i2c driver. */
+       .unlocked_ioctl = video_ioctl2,
 };
 
 /* Video4Linux Interface */