summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorandy.hu <andy.hu@starfivetech.com>2023-07-12 12:11:20 +0300
committerandy.hu <andy.hu@starfivetech.com>2023-07-12 12:11:20 +0300
commitf389e8902b9ee260ef3273e9580166cbdff48e62 (patch)
treef41e18952e3ccbd408327de033c4b5590a443ac3 /drivers/media
parent18498fcc1897412d6c378b701fd4d3f56b1e6613 (diff)
parentfbb7363eef94ba99ecfeb6da79e24c3b5a01d7aa (diff)
downloadlinux-f389e8902b9ee260ef3273e9580166cbdff48e62.tar.xz
Merge branch 'CR_6468_vin_6.1_changhuang.liang' into 'jh7110-6.1.y-devel'
CR_6468_vin_6.1_changhuang.liang media: starfive: Fix vin warning See merge request sdk/linux!918
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/starfive/v4l2_driver/stf_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/starfive/v4l2_driver/stf_video.c b/drivers/media/platform/starfive/v4l2_driver/stf_video.c
index 3d4ac49e4ed3..426e5580e0b9 100644
--- a/drivers/media/platform/starfive/v4l2_driver/stf_video.c
+++ b/drivers/media/platform/starfive/v4l2_driver/stf_video.c
@@ -934,7 +934,7 @@ static int video_pipeline_s_fmt(struct stfcamss_video *video,
struct v4l2_pix_format *pix = &f->fmt.pix;
struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;
struct media_entity *sensor;
- u32 width, height, code;
+ u32 width, height;
struct media_pad *pad;
/* pix to mbus format */