[alsa-devel] [PATCH 02/11] ASoC: kirkwood-dma: Staticize non exported struct
Lars-Peter Clausen
lars at metafoo.de
Tue May 14 22:19:48 CEST 2013
The kirkwood_dma_ops struct is not used outside of kirkwood-dma.c, so make it
static.
Cc: Arnaud Patard <arnaud.patard at rtp-net.org>
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
sound/soc/kirkwood/kirkwood-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
index d3d4bdc..a9f1453 100644
--- a/sound/soc/kirkwood/kirkwood-dma.c
+++ b/sound/soc/kirkwood/kirkwood-dma.c
@@ -289,7 +289,7 @@ static snd_pcm_uframes_t kirkwood_dma_pointer(struct snd_pcm_substream
return count;
}
-struct snd_pcm_ops kirkwood_dma_ops = {
+static struct snd_pcm_ops kirkwood_dma_ops = {
.open = kirkwood_dma_open,
.close = kirkwood_dma_close,
.ioctl = snd_pcm_lib_ioctl,
--
1.8.0
More information about the Alsa-devel
mailing list