summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--drivers/amvdec_ports/aml_vcodec_dec.c17
-rw-r--r--drivers/amvdec_ports/aml_vcodec_dec.h14
-rw-r--r--drivers/amvdec_ports/aml_vcodec_dec_drv.c2
-rw-r--r--drivers/amvdec_ports/decoder/vdec_h264_if.c4
-rw-r--r--drivers/amvdec_ports/decoder/vdec_hevc_if.c4
-rw-r--r--drivers/amvdec_ports/decoder/vdec_vp9_if.c4
6 files changed, 20 insertions, 25 deletions
diff --git a/drivers/amvdec_ports/aml_vcodec_dec_drv.c b/drivers/amvdec_ports/aml_vcodec_dec_drv.c
index 6307e5b..d35d738 100644
--- a/drivers/amvdec_ports/aml_vcodec_dec_drv.c
+++ b/drivers/amvdec_ports/aml_vcodec_dec_drv.c
@@ -199,7 +199,7 @@ int v4l2_alloc_fd(int *fd)
}
file->private_data =
- kzalloc(sizeof(struct file_privdata), GFP_KERNEL);
+ kzalloc(sizeof(struct file_private_data), GFP_KERNEL);
if (!file->private_data) {
pr_err("%s: alloc priv data faild.\n", __func__);
return -ENOMEM;