diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-24 04:21:18 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-24 05:55:17 -0500 |
commit | ec05cc554eb7cfb7ca0d6d93a3afabff6bc80033 (patch) | |
tree | f086d6f1cb4aa2deb2c29a372e38c1097fc50561 /sound/soc/tegra | |
parent | ecb2c174346f9e1b2cb671b261a16f1b9aaa66c4 (diff) |
ASoC: tegra: Staticize some functions in tegra30_i2s.c
'tegra30_i2s_startup' and 'tegra30_i2s_shutdown' are used only in this file and
hence made static. Fixes the following sparse warnings:
sound/soc/tegra/tegra30_i2s.c:74:5: warning:
symbol 'tegra30_i2s_startup' was not declared. Should it be static?
sound/soc/tegra/tegra30_i2s.c:101:6: warning:
symbol 'tegra30_i2s_shutdown' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra30_i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c index 27e91dd0b91c..f4e1ce82750a 100644 --- a/sound/soc/tegra/tegra30_i2s.c +++ b/sound/soc/tegra/tegra30_i2s.c | |||
@@ -71,7 +71,7 @@ static int tegra30_i2s_runtime_resume(struct device *dev) | |||
71 | return 0; | 71 | return 0; |
72 | } | 72 | } |
73 | 73 | ||
74 | int tegra30_i2s_startup(struct snd_pcm_substream *substream, | 74 | static int tegra30_i2s_startup(struct snd_pcm_substream *substream, |
75 | struct snd_soc_dai *dai) | 75 | struct snd_soc_dai *dai) |
76 | { | 76 | { |
77 | struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); | 77 | struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); |
@@ -98,7 +98,7 @@ int tegra30_i2s_startup(struct snd_pcm_substream *substream, | |||
98 | return ret; | 98 | return ret; |
99 | } | 99 | } |
100 | 100 | ||
101 | void tegra30_i2s_shutdown(struct snd_pcm_substream *substream, | 101 | static void tegra30_i2s_shutdown(struct snd_pcm_substream *substream, |
102 | struct snd_soc_dai *dai) | 102 | struct snd_soc_dai *dai) |
103 | { | 103 | { |
104 | struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); | 104 | struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); |