From: Lars-Peter Clausen Date: Mon, 18 Mar 2013 17:57:24 +0000 (+0100) Subject: ASoC: spear_pcm: Staticize non-exported structs X-Git-Tag: upstream/snapshot3+hdmi~5112^2~53^2~9^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18b97dbe86735502794ba988d4171dc531d8a589;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ASoC: spear_pcm: Staticize non-exported structs Signed-off-by: Lars-Peter Clausen Acked-by: Rajeev Kumar Signed-off-by: Mark Brown --- diff --git a/sound/soc/spear/spear_pcm.c b/sound/soc/spear/spear_pcm.c index 9b76cc5..6980391 100644 --- a/sound/soc/spear/spear_pcm.c +++ b/sound/soc/spear/spear_pcm.c @@ -25,7 +25,7 @@ #include #include -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), @@ -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,