ASoC: bf5xx-tdm-pcm: Staticize non exported struct
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 14 May 2013 20:19:53 +0000 (22:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 May 2013 04:50:28 +0000 (08:50 +0400)
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>
sound/soc/blackfin/bf5xx-tdm-pcm.c

index 0e6b888bb4cce6c7a44c79d49c7b284692deeea6..19e855d5677ee532ecff1d38d624eb94e368aa4a 100644 (file)
@@ -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,