diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-12 13:21:58 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-12 13:21:58 +0200 |
commit | 50336540d4c92cacb2cb696433be5dcbd7682299 (patch) | |
tree | a9d37b7e02d0c325f5e11da9eb70adf79031733f /linux/drivers/media/video/cx18/cx18-streams.c | |
parent | 777d8d0ab9ad6c77621e425bb7b9b845763b2f23 (diff) | |
download | mediapointer-dvb-s2-50336540d4c92cacb2cb696433be5dcbd7682299.tar.gz mediapointer-dvb-s2-50336540d4c92cacb2cb696433be5dcbd7682299.tar.bz2 |
ivtv/cx18: add compat_ioctl entries
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-streams.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-streams.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-streams.c b/linux/drivers/media/video/cx18/cx18-streams.c index 84845b1f6..39f2ef83d 100644 --- a/linux/drivers/media/video/cx18/cx18-streams.c +++ b/linux/drivers/media/video/cx18/cx18-streams.c @@ -36,12 +36,15 @@ #define CX18_DSP0_INTERRUPT_MASK 0xd0004C static struct file_operations cx18_v4l2_enc_fops = { - .owner = THIS_MODULE, - .read = cx18_v4l2_read, - .open = cx18_v4l2_open, - .ioctl = cx18_v4l2_ioctl, - .release = cx18_v4l2_close, - .poll = cx18_v4l2_enc_poll, + .owner = THIS_MODULE, + .read = cx18_v4l2_read, + .open = cx18_v4l2_open, + .ioctl = cx18_v4l2_ioctl, +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 11) + .compat_ioctl = v4l_compat_ioctl32, +#endif + .release = cx18_v4l2_close, + .poll = cx18_v4l2_enc_poll, }; /* offset from 0 to register ts v4l2 minors on */ |