From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Lars-Peter Clausen <lars@metafoo.de>,
Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org,
Banajit Goswami <bgoswami@codeaurora.org>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Patrick Lai <plai@codeaurora.org>,
patches@opensource.wolfsonmicro.com,
Arnaud Pouliquen <arnaud.pouliquen@st.com>,
Max Filippov <jcmvbkbc@gmail.com>,
Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 2/6] ASoC: lpass-ipq806x: Staticise local symbols
Date: Tue, 28 Jul 2015 13:01:54 +0100 [thread overview]
Message-ID: <55B76F32.40202@linaro.org> (raw)
In-Reply-To: <1437987388-9706-3-git-send-email-lars@metafoo.de>
On 27/07/15 09:56, Lars-Peter Clausen wrote:
> ipq806x_data is not used outside this file, so it can be static.
> Fixes the following sparse warning:
>
> sound/soc/qcom/lpass-ipq806x.c:76:22: warning: symbol 'ipq806x_data'
> was not declared. Should it be static?
>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---
> sound/soc/qcom/lpass-ipq806x.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c
> index 7356d3a..7a41679 100644
> --- a/sound/soc/qcom/lpass-ipq806x.c
> +++ b/sound/soc/qcom/lpass-ipq806x.c
> @@ -73,7 +73,7 @@ static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan)
> return 0;
> }
>
> -struct lpass_variant ipq806x_data = {
> +static struct lpass_variant ipq806x_data = {
> .i2sctrl_reg_base = 0x0010,
> .i2sctrl_reg_stride = 0x04,
> .i2s_ports = 5,
>
Thanks Lars for the patch, Looks good to me.
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
--srini
next prev parent reply other threads:[~2015-07-28 12:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 8:56 [PATCH 0/6] ASoC: Fix sparse warnings Lars-Peter Clausen
2015-07-27 8:56 ` [PATCH 1/6] ASoC: wm8804: Drop dublicate const Lars-Peter Clausen
2015-07-27 19:53 ` Charles Keepax
2015-07-29 14:13 ` Applied "ASoC: wm8804: Drop duplicate const" to the asoc tree Mark Brown
2015-07-27 8:56 ` [PATCH 2/6] ASoC: lpass-ipq806x: Staticise local symbols Lars-Peter Clausen
2015-07-28 12:01 ` Srinivas Kandagatla [this message]
2015-07-29 14:13 ` Applied "ASoC: lpass-ipq806x: Staticise local symbols" to the asoc tree Mark Brown
2015-07-27 8:56 ` [PATCH 3/6] ASoC: rcar ctu: Staticise local symbols Lars-Peter Clausen
2015-07-27 23:36 ` Kuninori Morimoto
2015-07-29 14:13 ` Applied "ASoC: rcar ctu: Staticise local symbols" to the asoc tree Mark Brown
2015-07-27 8:56 ` [PATCH 4/6] ASoC: uniperf: Add missing __iomem annotation Lars-Peter Clausen
2015-07-28 7:41 ` Arnaud Pouliquen
2015-07-29 14:13 ` Applied "ASoC: uniperf: Add missing __iomem annotation" to the asoc tree Mark Brown
2015-07-27 8:56 ` [PATCH 5/6] ASoC: uniperf: Staticise local symbols Lars-Peter Clausen
2015-07-28 7:49 ` Arnaud Pouliquen
2015-07-29 14:13 ` Applied "ASoC: uniperf: Staticise local symbols" to the asoc tree Mark Brown
2015-07-27 8:56 ` [PATCH 6/6] ASoC: xtfpga-i2s: Add missing __rcu annotation Lars-Peter Clausen
2015-07-28 10:48 ` Max Filippov
2015-07-29 14:13 ` Applied "ASoC: xtfpga-i2s: Add missing __rcu annotation" to the asoc tree Mark Brown
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=55B76F32.40202@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=arnaud.pouliquen@st.com \
--cc=bgoswami@codeaurora.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=jcmvbkbc@gmail.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=plai@codeaurora.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