Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cdc0f26 authored by Luc Van Oostenryck's avatar Luc Van Oostenryck Committed by Mauro Carvalho Chehab
Browse files

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: default avatarLuc Van Oostenryck <luc.vanoostenryck@looxix.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 6054b68e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -160,6 +160,7 @@ static struct file_operations pwc_fops = {
	.poll =		pwc_video_poll,
	.poll =		pwc_video_poll,
	.mmap =		pwc_video_mmap,
	.mmap =		pwc_video_mmap,
	.ioctl =        pwc_video_ioctl,
	.ioctl =        pwc_video_ioctl,
	.compat_ioctl = v4l_compat_ioctl32,
	.llseek =       no_llseek,
	.llseek =       no_llseek,
};
};
static struct video_device pwc_template = {
static struct video_device pwc_template = {