diff --git a/drivers/media/platform/rockchip/ispp/fec.c b/drivers/media/platform/rockchip/ispp/fec.c index a742dc18b8c7..f9e4016dcc37 100644 --- a/drivers/media/platform/rockchip/ispp/fec.c +++ b/drivers/media/platform/rockchip/ispp/fec.c @@ -281,7 +281,7 @@ static int fec_running(struct rkispp_fec_dev *fec, v4l2_dbg(3, rkispp_debug, &fec->v4l2_dev, "0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n" "0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n" - "0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n", + "0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n", RKISPP_CTRL_SYS_STATUS, readl(base + RKISPP_CTRL_SYS_STATUS), RKISPP_FEC_CTRL, readl(base + RKISPP_FEC_CTRL), RKISPP_FEC_RD_VIR_STRIDE, readl(base + RKISPP_FEC_RD_VIR_STRIDE), @@ -415,6 +415,9 @@ static const struct v4l2_file_operations fec_fops = { .poll = v4l2_m2m_fop_poll, .unlocked_ioctl = video_ioctl2, .mmap = v4l2_m2m_fop_mmap, +#ifdef CONFIG_COMPAT + .compat_ioctl32 = video_ioctl2, +#endif }; static const struct video_device fec_videodev = {