Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wenyou.Yang@Microchip.com (Yang, Wenyou)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH -next] media: atmel-isc: Make local symbol fmt_configs_list static
Date: Tue, 26 Dec 2017 09:39:42 +0800	[thread overview]
Message-ID: <fa1db8ce-c93a-cb0c-a5e0-a8886879090e@Microchip.com> (raw)
In-Reply-To: <1513994224-86350-1-git-send-email-weiyongjun1@huawei.com>



On 2017/12/23 9:57, Wei Yongjun wrote:
> Fixes the following sparse warning:
>
> drivers/media/platform/atmel/atmel-isc.c:338:19: warning:
>   symbol 'fmt_configs_list' was not declared. Should it be static?
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> ---
Acked-by: Wenyou Yang <wenyou.yang@microchip.com>

>   drivers/media/platform/atmel/atmel-isc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers/media/platform/atmel/atmel-isc.c
> index 0c26356..2dd72fc 100644
> --- a/drivers/media/platform/atmel/atmel-isc.c
> +++ b/drivers/media/platform/atmel/atmel-isc.c
> @@ -335,7 +335,7 @@ struct isc_device {
>   	},
>   };
>   
> -struct fmt_config fmt_configs_list[] = {
> +static struct fmt_config fmt_configs_list[] = {
>   	{
>   		.fourcc		= V4L2_PIX_FMT_SBGGR8,
>   		.pfe_cfg0_bps	= ISC_PFE_CFG0_BPS_EIGHT,
>

      reply	other threads:[~2017-12-26  1:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-23  1:57 [PATCH -next] media: atmel-isc: Make local symbol fmt_configs_list static Wei Yongjun
2017-12-26  1:39 ` Yang, Wenyou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa1db8ce-c93a-cb0c-a5e0-a8886879090e@Microchip.com \
    --to=wenyou.yang@microchip.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox