提交 3b3bf0e3 编写于 作者: Z Zou Wei 提交者: Mauro Carvalho Chehab

media: ti-vpe: cal: Mark cal_camerarx_media_ops with static keyword

Fix the following sparse warning:

drivers/media/platform/ti-vpe/cal-camerarx.c:783:32: warning: symbol 'cal_camerarx_media_ops' was not declared. Should it be static?
Signed-off-by: NZou Wei <zou_wei@huawei.com>
Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
上级 f5ffb81f
...@@ -780,7 +780,7 @@ static const struct v4l2_subdev_ops cal_camerarx_subdev_ops = { ...@@ -780,7 +780,7 @@ static const struct v4l2_subdev_ops cal_camerarx_subdev_ops = {
.pad = &cal_camerarx_pad_ops, .pad = &cal_camerarx_pad_ops,
}; };
struct media_entity_operations cal_camerarx_media_ops = { static struct media_entity_operations cal_camerarx_media_ops = {
.link_validate = v4l2_subdev_link_validate, .link_validate = v4l2_subdev_link_validate,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册