V4L/DVB (9997): gspca - main: Don't lock the kernel on ioctl.
Jean-Francois Moine [Wed, 24 Dec 2008 08:50:04 +0000 (05:50 -0300)]
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 edb6670..8b9f3bd 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