[alsa-devel] [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct
Lars-Peter Clausen
lars at metafoo.de
Tue May 14 22:19:47 CEST 2013
The ep93xx_i2s_dma_data struct is not used outside of ep93xx-i2s.c, so make it
static.
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
Cc: Ryan Mallon <ryan at bluewatersys.com>
---
sound/soc/cirrus/ep93xx-i2s.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/cirrus/ep93xx-i2s.c b/sound/soc/cirrus/ep93xx-i2s.c
index ef731e6..17ad70b 100644
--- a/sound/soc/cirrus/ep93xx-i2s.c
+++ b/sound/soc/cirrus/ep93xx-i2s.c
@@ -63,7 +63,7 @@ struct ep93xx_i2s_info {
void __iomem *regs;
};
-struct ep93xx_dma_data ep93xx_i2s_dma_data[] = {
+static struct ep93xx_dma_data ep93xx_i2s_dma_data[] = {
[SNDRV_PCM_STREAM_PLAYBACK] = {
.name = "i2s-pcm-out",
.port = EP93XX_DMA_I2S1,
--
1.8.0
More information about the Alsa-devel
mailing list