提交 18b97dbe 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: spear_pcm: Staticize non-exported structs

Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Acked-by: NRajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 a937536b
......@@ -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),
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册