ASoC: Staticise PCM operations tables

Previous thread: ASoC: fixes to caching implementations by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:06 pm. (1 message)

Next thread: ASoC: Fix WM9705 capture switch name by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:06 pm. (1 message)
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:06 pm

Gitweb:     http://git.kernel.org/linus/b2a19d02396c92294abcddee5bd9bd49cc4e4d1c
Commit:     b2a19d02396c92294abcddee5bd9bd49cc4e4d1c
Parent:     91432e976ff1323e5dd6f52498969602953c6ee9
Author:     Mark Brown <broonie@opensource.wolfsonmicro.com>
AuthorDate: Sat Jan 17 19:14:26 2009 +0000
Committer:  Mark Brown <broonie@opensource.wolfsonmicro.com>
CommitDate: Mon Jan 19 16:23:27 2009 +0000

    ASoC: Staticise PCM operations tables
    
    The PCM operations tables are not exported directly but are instead
    included in the platform structure so should be declared static.
    
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/atmel/atmel-pcm.c         |    2 +-
 sound/soc/au1x/dbdma2.c             |    2 +-
 sound/soc/blackfin/bf5xx-ac97-pcm.c |    2 +-
 sound/soc/blackfin/bf5xx-i2s-pcm.c  |    2 +-
 sound/soc/davinci/davinci-pcm.c     |    2 +-
 sound/soc/omap/omap-pcm.c           |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c
index 3dcdc4e..9ef6b96 100644
--- a/sound/soc/atmel/atmel-pcm.c
+++ b/sound/soc/atmel/atmel-pcm.c
@@ -347,7 +347,7 @@ static int atmel_pcm_mmap(struct snd_pcm_substream *substream,
 		       vma->vm_end - vma->vm_start, vma->vm_page_prot);
 }
 
-struct snd_pcm_ops atmel_pcm_ops = {
+static struct snd_pcm_ops atmel_pcm_ops = {
 	.open		= atmel_pcm_open,
 	.close		= atmel_pcm_close,
 	.ioctl		= snd_pcm_lib_ioctl,
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c
index bc8d654..30490a2 100644
--- a/sound/soc/au1x/dbdma2.c
+++ b/sound/soc/au1x/dbdma2.c
@@ -305,7 +305,7 @@ static int au1xpsc_pcm_close(struct snd_pcm_substream *substream)
 	return 0;
 }
 
-struct snd_pcm_ops au1xpsc_pcm_ops = {
+static struct snd_pcm_ops au1xpsc_pcm_ops = {
 	.open		= au1xpsc_pcm_open,
 	.close		= au1xpsc_pcm_close,
 	.ioctl		= snd_pcm_lib_ioctl,
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c ...
Previous thread: ASoC: fixes to caching implementations by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:06 pm. (1 message)

Next thread: ASoC: Fix WM9705 capture switch name by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:06 pm. (1 message)