Skip to content

Commit

Permalink
ASoC: spear_pcm: Staticize non-exported structs
Browse files Browse the repository at this point in the history
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Mar 20, 2013
1 parent a937536 commit 18b97db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/spear/spear_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <sound/soc.h>
#include <sound/spear_dma.h>

struct snd_pcm_hardware spear_pcm_hardware = {
static struct snd_pcm_hardware spear_pcm_hardware = {
.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME),
Expand Down Expand Up @@ -178,7 +178,7 @@ static int spear_pcm_new(struct snd_card *card,
return 0;
}

struct snd_soc_platform_driver spear_soc_platform = {
static struct snd_soc_platform_driver spear_soc_platform = {
.ops = &spear_pcm_ops,
.pcm_new = spear_pcm_new,
.pcm_free = spear_pcm_free,
Expand Down

0 comments on commit 18b97db

Please sign in to comment.