summaryrefslogtreecommitdiff
path: root/sound/soc/blackfin
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-14 22:19:53 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 08:50:28 +0400
commit19b6317b8c78a51c41b3d7abf14fdbb0df8f41b7 (patch)
tree7ab3159e8ad94ff458f846891b06c2406cc143af /sound/soc/blackfin
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
ASoC: bf5xx-tdm-pcm: Staticize non exported struct
The bf5xx_tdm_pcm_ops struct is only used in bf5xx-tdm-pcm.c, so make it static. Cc: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin')
-rw-r--r--sound/soc/blackfin/bf5xx-tdm-pcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/blackfin/bf5xx-tdm-pcm.c b/sound/soc/blackfin/bf5xx-tdm-pcm.c
index 0e6b888bb4cc..19e855d5677e 100644
--- a/sound/soc/blackfin/bf5xx-tdm-pcm.c
+++ b/sound/soc/blackfin/bf5xx-tdm-pcm.c
@@ -229,8 +229,7 @@ static int bf5xx_pcm_silence(struct snd_pcm_substream *substream,
return 0;
}
-
-struct snd_pcm_ops bf5xx_pcm_tdm_ops = {
+static struct snd_pcm_ops bf5xx_pcm_tdm_ops = {
.open = bf5xx_pcm_open,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = bf5xx_pcm_hw_params,