diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-29 06:21:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 07:23:49 -0400 |
commit | 9b62ccdbc797ae42342bd6ca15719362d2543d24 (patch) | |
tree | 78565122f6fd586bbeacb3b939f7f3895c6c64b2 /drivers/media | |
parent | bbd770aee018c8f46d8f43263928440d5ac04b36 (diff) | |
download | linux-9b62ccdbc797ae42342bd6ca15719362d2543d24.tar.gz linux-9b62ccdbc797ae42342bd6ca15719362d2543d24.tar.bz2 linux-9b62ccdbc797ae42342bd6ca15719362d2543d24.zip |
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: Colin Ian King <colin.king@canonical.com>
Acked-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/qcom/camss-8x16/camss-vfe.c b/drivers/media/platform/qcom/camss-8x16/camss-vfe.c index b21b3c2dc77f..b22d2dfcd3c2 100644 --- a/drivers/media/platform/qcom/camss-8x16/camss-vfe.c +++ b/drivers/media/platform/qcom/camss-8x16/camss-vfe.c @@ -2660,7 +2660,7 @@ static int vfe_get_selection(struct v4l2_subdev *sd, * * 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_selection *sel) { |