summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-29 15:57:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-29 15:57:07 -0300
commit05257cc52c0455f2a2010beadeca588fbabcd5fd (patch)
tree02883b2b3281e7fc317b2b03b2702845ff4e62ca /linux/drivers/media/video/pwc
parent413bd9bb726bee2d2a0b9dd383545a0b1c5bba5f (diff)
downloadmediapointer-dvb-s2-05257cc52c0455f2a2010beadeca588fbabcd5fd.tar.gz
mediapointer-dvb-s2-05257cc52c0455f2a2010beadeca588fbabcd5fd.tar.bz2
Restore compat_ioctl in pwc driver
From: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> 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 <luc.vanoostenryck@looxix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pwc')
-rw-r--r--linux/drivers/media/video/pwc/pwc-if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-if.c b/linux/drivers/media/video/pwc/pwc-if.c
index a241a3060..dd731a8e7 100644
--- a/linux/drivers/media/video/pwc/pwc-if.c
+++ b/linux/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 = {