Skip to content

Commit

Permalink
media: sun6i-isp: proc: Declare subdev ops as static
Browse files Browse the repository at this point in the history
The static keyword is missing in the v4l2 subdev ops definition for the
proc.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Fixes: e3185e1 ("media: staging: media: Add support for the Allwinner A31 ISP")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
  • Loading branch information
Paul Kocialkowski authored and Mauro Carvalho Chehab committed Dec 14, 2022
1 parent f72af77 commit 44723b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static const struct v4l2_subdev_pad_ops sun6i_isp_proc_pad_ops = {
.set_fmt = sun6i_isp_proc_set_fmt,
};

const struct v4l2_subdev_ops sun6i_isp_proc_subdev_ops = {
static const struct v4l2_subdev_ops sun6i_isp_proc_subdev_ops = {
.video = &sun6i_isp_proc_video_ops,
.pad = &sun6i_isp_proc_pad_ops,
};
Expand Down

0 comments on commit 44723b8

Please sign in to comment.