diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-28 14:45:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-28 14:45:51 -0300 |
commit | b809e0a0b09c4c4954d50ad8720df4b7ed56c7b9 (patch) | |
tree | ce0fface7763295cb21bed585bedfd4a9dc53624 /linux/drivers/media/video/vivi.c | |
parent | 89c283254c3729d91ba78286ea9ef2c0640cb2ab (diff) | |
download | mediapointer-dvb-s2-b809e0a0b09c4c4954d50ad8720df4b7ed56c7b9.tar.gz mediapointer-dvb-s2-b809e0a0b09c4c4954d50ad8720df4b7ed56c7b9.tar.bz2 |
vivi: Add 32bit compatibility to the module
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Thanks to Jiri Slaby <jirislaby@gmail.com> for pointing this issue.
CC: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/vivi.c')
-rw-r--r-- | linux/drivers/media/video/vivi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/vivi.c b/linux/drivers/media/video/vivi.c index 4222abbfc..9a168917f 100644 --- a/linux/drivers/media/video/vivi.c +++ b/linux/drivers/media/video/vivi.c @@ -1256,6 +1256,9 @@ static const struct file_operations vivi_fops = { .read = vivi_read, .poll = vivi_poll, .ioctl = video_ioctl2, /* V4L2 ioctl handler */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) + .compat_ioctl = v4l_compat_ioctl32, +#endif .mmap = vivi_mmap, .llseek = no_llseek, }; |