提交 9b62ccdb 编写于 作者: C Colin Ian King 提交者: Mauro Carvalho Chehab

media: qcom: camss: Make function vfe_set_selection static

The function vfe_set_selection is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
warning: symbol 'vfe_set_selection' was not declared. Should it be static?
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Acked-by: NTodor Tomov <todor.tomov@linaro.org>
Signed-off-by: NHans Verkuil <hansverk@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 bbd770ae
...@@ -2660,7 +2660,7 @@ static int vfe_get_selection(struct v4l2_subdev *sd, ...@@ -2660,7 +2660,7 @@ static int vfe_get_selection(struct v4l2_subdev *sd,
* *
* Return -EINVAL or zero on success * Return -EINVAL or zero on success
*/ */
int vfe_set_selection(struct v4l2_subdev *sd, static int vfe_set_selection(struct v4l2_subdev *sd,
struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_pad_config *cfg,
struct v4l2_subdev_selection *sel) struct v4l2_subdev_selection *sel)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册