All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: 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>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Subject: [PATCH 5/6] ASoC: uniperf: Staticise local symbols
Date: Mon, 27 Jul 2015 10:56:27 +0200	[thread overview]
Message-ID: <1437987388-9706-6-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1437987388-9706-1-git-send-email-lars@metafoo.de>

uni_player_dai_ops is not used outside of this file so it should be static.
Fixes the following sparse warning:

	sound/soc/sti/uniperif_player.c:959:30: warning: symbol
		'uni_player_dai_ops' was not declared. Should it be static?

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/sti/uniperif_player.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/sti/uniperif_player.c b/sound/soc/sti/uniperif_player.c
index f609089..d8df906 100644
--- a/sound/soc/sti/uniperif_player.c
+++ b/sound/soc/sti/uniperif_player.c
@@ -956,7 +956,7 @@ static int uni_player_parse_dt(struct platform_device *pdev,
 	return 0;
 }
 
-const struct snd_soc_dai_ops uni_player_dai_ops = {
+static const struct snd_soc_dai_ops uni_player_dai_ops = {
 		.startup = uni_player_startup,
 		.shutdown = uni_player_shutdown,
 		.prepare = uni_player_prepare,
-- 
2.1.4

  parent reply	other threads:[~2015-07-27  8:56 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
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 ` Lars-Peter Clausen [this message]
2015-07-28  7:49   ` [PATCH 5/6] ASoC: uniperf: Staticise local symbols 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=1437987388-9706-6-git-send-email-lars@metafoo.de \
    --to=lars@metafoo.de \
    --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=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.