alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Sachin Kamat <sachin.kamat@linaro.org>
To: alsa-devel@alsa-project.org
Cc: sachin.kamat@linaro.org, tiwai@suse.de,
	broonie@opensource.wolfsonmicro.com, swarren@nvidia.com,
	lgirdwood@gmail.com
Subject: [PATCH 3/5] ASoC: tegra: Make 'ahub_auxdata' static
Date: Mon, 21 Jan 2013 14:59:24 +0530	[thread overview]
Message-ID: <1358760566-3803-4-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1358760566-3803-1-git-send-email-sachin.kamat@linaro.org>

Fixes the following sparse warning:
sound/soc/tegra/tegra30_ahub.c:302:23: warning:
symbol 'ahub_auxdata' was not declared. Should it be static?

Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/tegra/tegra30_ahub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c
index f354dc3..ad217cc 100644
--- a/sound/soc/tegra/tegra30_ahub.c
+++ b/sound/soc/tegra/tegra30_ahub.c
@@ -299,7 +299,7 @@ static const char * const configlink_clocks[] = {
 	"spdif_in",
 };
 
-struct of_dev_auxdata ahub_auxdata[] = {
+static struct of_dev_auxdata ahub_auxdata[] = {
 	OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080300, "tegra30-i2s.0", NULL),
 	OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080400, "tegra30-i2s.1", NULL),
 	OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080500, "tegra30-i2s.2", NULL),
-- 
1.7.4.1

  parent reply	other threads:[~2013-01-21  9:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21  9:29 [PATCH 0/5] ASoC: tegra: Some fixes in codec files Sachin Kamat
2013-01-21  9:29 ` [PATCH 1/5] ASoC: tegra_wm9712: Remove __devinitconst attribute Sachin Kamat
2013-01-21  9:29 ` [PATCH 2/5] ASoC: tegra20_ac97: " Sachin Kamat
2013-01-21  9:29 ` Sachin Kamat [this message]
2013-01-21 17:16   ` [PATCH 3/5] ASoC: tegra: Make 'ahub_auxdata' static Stephen Warren
2013-01-22  4:56     ` Sachin Kamat
2013-01-21  9:29 ` [PATCH 4/5] ASoC: tegra: Use NULL instead of 0 for pointers Sachin Kamat
2013-01-21 17:15   ` Stephen Warren
2013-01-22  5:01     ` Sachin Kamat
2013-01-21  9:29 ` [PATCH 5/5] ASoC: tegra: Staticize some functions in tegra30_i2s.c Sachin Kamat

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=1358760566-3803-4-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lgirdwood@gmail.com \
    --cc=swarren@nvidia.com \
    --cc=tiwai@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).