[alsa-devel] [PATCH 3/5] ASoC: tegra: Make 'ahub_auxdata' static
Sachin Kamat
sachin.kamat at linaro.org
Mon Jan 21 10:29:24 CET 2013
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 at nvidia.com>
Signed-off-by: Sachin Kamat <sachin.kamat at 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
More information about the Alsa-devel
mailing list