mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
media: rockchip: cif/isp support compat_ioctl32 for video
Change-Id: I6e02df9faeb64d71b0cb8033493c11a4267494a3 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -5050,6 +5050,9 @@ static const struct v4l2_file_operations rkcif_fops = {
|
||||
.unlocked_ioctl = video_ioctl2,
|
||||
.poll = vb2_fop_poll,
|
||||
.mmap = vb2_fop_mmap,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl32 = video_ioctl2,
|
||||
#endif
|
||||
};
|
||||
|
||||
static int rkcif_enum_input(struct file *file, void *priv,
|
||||
|
||||
@@ -1196,6 +1196,9 @@ static const struct v4l2_file_operations rkisp_fops = {
|
||||
.unlocked_ioctl = video_ioctl2,
|
||||
.poll = vb2_fop_poll,
|
||||
.mmap = vb2_fop_mmap,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl32 = video_ioctl2,
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -793,6 +793,9 @@ static const struct v4l2_file_operations rkisp_fops = {
|
||||
.unlocked_ioctl = video_ioctl2,
|
||||
.poll = vb2_fop_poll,
|
||||
.mmap = vb2_fop_mmap,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl32 = video_ioctl2,
|
||||
#endif
|
||||
};
|
||||
|
||||
static int rkisp_try_fmt_vid_out_mplane(struct file *file, void *fh,
|
||||
|
||||
Reference in New Issue
Block a user