From: Luc Van Oostenryck Date: Tue, 8 Aug 2006 12:10:10 +0000 (-0300) Subject: V4L/DVB (4395): Restore compat_ioctl in pwc driver X-Git-Tag: v2.6.18-rc5~124^2~9 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3cdc0f263b9fe99f7dfcef49df7a148b458e9d11;p=~shefty%2Frdma-dev.git V4L/DVB (4395): Restore compat_ioctl in pwc driver The compat_ioctl support of the pwc driver was dropped during the last update of the driver. I suppose it was by mistake. If yes here is the patch to restore the support. Signed-off-by: Luc Van Oostenryck Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c index 47d0d83a026..d4703944df9 100644 --- a/drivers/media/video/pwc/pwc-if.c +++ b/drivers/media/video/pwc/pwc-if.c @@ -160,6 +160,7 @@ static struct file_operations pwc_fops = { .poll = pwc_video_poll, .mmap = pwc_video_mmap, .ioctl = pwc_video_ioctl, + .compat_ioctl = v4l_compat_ioctl32, .llseek = no_llseek, }; static struct video_device pwc_template = {