[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <043e2533-e1fd-4823-4dc7-b21483c5f560@linaro.org>
Date: Tue, 29 Aug 2017 14:49:34 +0300
From: Todor Tomov <todor.tomov@...aro.org>
To: Colin King <colin.king@...onical.com>
Cc: Todor Tomov <todor.tomov@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][media-next] media: qcom: camss: Make function
vfe_set_selection static
On 29.08.2017 13:21, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Thank you!
Acked-by: Todor Tomov <todor.tomov@...aro.org>
> ---
> drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
> {
>
--
Best regards,
Todor Tomov
Powered by blists - more mailing lists