mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [saa7146] v4l 32bit ioctl compat patch
@ 2009-02-19 10:50 Martin Zwickel
  0 siblings, 0 replies; only message in thread
From: Martin Zwickel @ 2009-02-19 10:50 UTC (permalink / raw)
  To: LKML


[-- Attachment #1.1: Type: text/plain, Size: 256 bytes --]

Hi all,

what do you think about such a patch to get 32bit ioctl compat working for
saa7146 driver?

Thanks and regards,
Martin

-- 
MyExcuse:
static from nylon underwear

Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: dvb_ttpci_v4l_compat_ioctl32.patch --]
[-- Type: text/x-patch, Size: 591 bytes --]

diff -uprN -X linux-2.6.23.1-vanilla/Documentation/dontdiff -x probe.c -x vdso.lds linux-2.6.23.1-vanilla/drivers/media/common/saa7146_fops.c linux-2.6.23.1/drivers/media/common/saa7146_fops.c
--- linux-2.6.23.1-vanilla/drivers/media/common/saa7146_fops.c	2007-10-12 18:43:44.000000000 +0200
+++ linux-2.6.23.1/drivers/media/common/saa7146_fops.c	2007-11-27 14:03:57.000000000 +0100
@@ -425,6 +425,7 @@ static const struct file_operations vide
 	.poll		= fops_poll,
 	.mmap		= fops_mmap,
 	.ioctl		= fops_ioctl,
+	.compat_ioctl	= v4l_compat_ioctl32,
 	.llseek		= no_llseek,
 };
 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-19 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-19 10:50 [saa7146] v4l 32bit ioctl compat patch Martin Zwickel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®