summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_pcm.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-10-15 00:54:19 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-17 23:43:16 +0200
commit01840bbe5f4406bf1d24590b96b0e3df43aaa81a (patch)
tree645e2e9b5fd32800b53dcd48a44d0e0aba843d54 /sound/soc/tegra/tegra_pcm.c
parentMAINTAINERS: Add maintainer for Analog Devices sound CODECs (diff)
downloadlinux-01840bbe5f4406bf1d24590b96b0e3df43aaa81a.tar.xz
linux-01840bbe5f4406bf1d24590b96b0e3df43aaa81a.zip
ASoC: Tegra: sparse cleanup
Fixes the following sparse warnings: sound/soc/tegra/tegra_das.c:215:8: warning: Using plain integer as NULL pointer sound/soc/tegra/tegra_das.c:237:8: warning: Using plain integer as NULL pointer sound/soc/tegra/tegra_pcm.c:370:32: warning: symbol 'tegra_pcm_platform' was not declared. Should it be static? Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra_pcm.c')
-rw-r--r--sound/soc/tegra/tegra_pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_pcm.c b/sound/soc/tegra/tegra_pcm.c
index c7cfd96e991e..436def1dfa39 100644
--- a/sound/soc/tegra/tegra_pcm.c
+++ b/sound/soc/tegra/tegra_pcm.c
@@ -367,7 +367,7 @@ static void tegra_pcm_free(struct snd_pcm *pcm)
tegra_pcm_deallocate_dma_buffer(pcm, SNDRV_PCM_STREAM_PLAYBACK);
}
-struct snd_soc_platform_driver tegra_pcm_platform = {
+static struct snd_soc_platform_driver tegra_pcm_platform = {
.ops = &tegra_pcm_ops,
.pcm_new = tegra_pcm_new,
.pcm_free = tegra_pcm_free,