V4L/DVB (7885): ivtv/cx18: add compat_ioctl entries
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
53c8ba9540
commit
daf20d95bf
@@ -40,6 +40,7 @@ static struct file_operations cx18_v4l2_enc_fops = {
|
|||||||
.read = cx18_v4l2_read,
|
.read = cx18_v4l2_read,
|
||||||
.open = cx18_v4l2_open,
|
.open = cx18_v4l2_open,
|
||||||
.ioctl = cx18_v4l2_ioctl,
|
.ioctl = cx18_v4l2_ioctl,
|
||||||
|
.compat_ioctl = v4l_compat_ioctl32,
|
||||||
.release = cx18_v4l2_close,
|
.release = cx18_v4l2_close,
|
||||||
.poll = cx18_v4l2_enc_poll,
|
.poll = cx18_v4l2_enc_poll,
|
||||||
};
|
};
|
||||||
|
@@ -49,6 +49,7 @@ static const struct file_operations ivtv_v4l2_enc_fops = {
|
|||||||
.write = ivtv_v4l2_write,
|
.write = ivtv_v4l2_write,
|
||||||
.open = ivtv_v4l2_open,
|
.open = ivtv_v4l2_open,
|
||||||
.ioctl = ivtv_v4l2_ioctl,
|
.ioctl = ivtv_v4l2_ioctl,
|
||||||
|
.compat_ioctl = v4l_compat_ioctl32,
|
||||||
.release = ivtv_v4l2_close,
|
.release = ivtv_v4l2_close,
|
||||||
.poll = ivtv_v4l2_enc_poll,
|
.poll = ivtv_v4l2_enc_poll,
|
||||||
};
|
};
|
||||||
@@ -59,6 +60,7 @@ static const struct file_operations ivtv_v4l2_dec_fops = {
|
|||||||
.write = ivtv_v4l2_write,
|
.write = ivtv_v4l2_write,
|
||||||
.open = ivtv_v4l2_open,
|
.open = ivtv_v4l2_open,
|
||||||
.ioctl = ivtv_v4l2_ioctl,
|
.ioctl = ivtv_v4l2_ioctl,
|
||||||
|
.compat_ioctl = v4l_compat_ioctl32,
|
||||||
.release = ivtv_v4l2_close,
|
.release = ivtv_v4l2_close,
|
||||||
.poll = ivtv_v4l2_dec_poll,
|
.poll = ivtv_v4l2_dec_poll,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user