Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Remove export of s3c_pcm_dai
@ 2011-12-14 11:13 Axel Lin
  2011-12-20  0:48 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-12-14 11:13 UTC (permalink / raw)
  To: alsa-devel
  Cc: Sangbeom Kim, Kukjin Kim, Liam Girdwood, Jaswinder Singh,
	Mark Brown

We don't need to export s3c_pcm_dai after multi-component patch.
Thus remove export of s3c_pcm_dai and make it static.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/samsung/pcm.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
index beef63f..786811d 100644
--- a/sound/soc/samsung/pcm.c
+++ b/sound/soc/samsung/pcm.c
@@ -478,7 +478,7 @@ static const struct snd_soc_dai_ops s3c_pcm_dai_ops = {
 		.formats	= SNDRV_PCM_FMTBIT_S16_LE,	\
 	}
 
-struct snd_soc_dai_driver s3c_pcm_dai[] = {
+static struct snd_soc_dai_driver s3c_pcm_dai[] = {
 	[0] = {
 		.name	= "samsung-pcm.0",
 		S3C_PCM_DAI_DECLARE,
@@ -488,7 +488,6 @@ struct snd_soc_dai_driver s3c_pcm_dai[] = {
 		S3C_PCM_DAI_DECLARE,
 	},
 };
-EXPORT_SYMBOL_GPL(s3c_pcm_dai);
 
 static __devinit int s3c_pcm_dev_probe(struct platform_device *pdev)
 {
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Remove export of s3c_pcm_dai
  2011-12-14 11:13 [PATCH] ASoC: Remove export of s3c_pcm_dai Axel Lin
@ 2011-12-20  0:48 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-12-20  0:48 UTC (permalink / raw)
  To: Axel Lin
  Cc: Sangbeom Kim, alsa-devel, Kukjin Kim, Liam Girdwood,
	Jaswinder Singh

On Wed, Dec 14, 2011 at 07:13:26PM +0800, Axel Lin wrote:
> We don't need to export s3c_pcm_dai after multi-component patch.
> Thus remove export of s3c_pcm_dai and make it static.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-20  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 11:13 [PATCH] ASoC: Remove export of s3c_pcm_dai Axel Lin
2011-12-20  0:48 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox