V4L/DVB (9997): gspca - main: Don't lock the kernel on ioctl.
authorJean-Francois Moine <moinejf@free.fr>
Wed, 24 Dec 2008 08:50:04 +0000 (05:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:44 +0000 (09:39 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index edb667028dfe4a89e706132cab30daa09edae579..8b9f3bde5740dd7edcf60270b7c5b5be3a0230fc 100644 (file)
@@ -1808,7 +1808,7 @@ static struct file_operations dev_fops = {
        .release = dev_close,
        .read = dev_read,
        .mmap = dev_mmap,
-       .ioctl = video_ioctl2,
+       .unlocked_ioctl = __video_ioctl2,
 #ifdef CONFIG_COMPAT
        .compat_ioctl = v4l_compat_ioctl32,
 #endif