diff options
-rw-r--r-- | sound/soc/spear/spear_pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/spear/spear_pcm.c b/sound/soc/spear/spear_pcm.c index 9b76cc5a1148..69803919b838 100644 --- a/sound/soc/spear/spear_pcm.c +++ b/sound/soc/spear/spear_pcm.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |
26 | #include <sound/spear_dma.h> | 26 | #include <sound/spear_dma.h> |
27 | 27 | ||
28 | struct snd_pcm_hardware spear_pcm_hardware = { | 28 | static struct snd_pcm_hardware spear_pcm_hardware = { |
29 | .info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER | | 29 | .info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER | |
30 | SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID | | 30 | SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID | |
31 | SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME), | 31 | SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME), |
@@ -178,7 +178,7 @@ static int spear_pcm_new(struct snd_card *card, | |||
178 | return 0; | 178 | return 0; |
179 | } | 179 | } |
180 | 180 | ||
181 | struct snd_soc_platform_driver spear_soc_platform = { | 181 | static struct snd_soc_platform_driver spear_soc_platform = { |
182 | .ops = &spear_pcm_ops, | 182 | .ops = &spear_pcm_ops, |
183 | .pcm_new = spear_pcm_new, | 183 | .pcm_new = spear_pcm_new, |
184 | .pcm_free = spear_pcm_free, | 184 | .pcm_free = spear_pcm_free, |