[alsa-devel] [PATCH 2/2] asoc/multi-component: remove superfluous snd_card member from snd_soc_platform

Sascha Hauer s.hauer at pengutronix.de
Wed Aug 11 14:29:46 CEST 2010


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/sound/soc.h  |    1 -
 sound/soc/soc-core.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/sound/soc.h b/include/sound/soc.h
index 4b0f4cd..d31e8b7 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -526,7 +526,6 @@ struct snd_soc_platform {
 	unsigned int suspended:1; /* platform is suspended */
 	unsigned int probed:1;
 
-	struct snd_card *snd_card;
 	struct snd_soc_card *card;
 	struct list_head list;
 	struct list_head card_list;
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 4300d6f..1a2c745 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1287,7 +1287,6 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num)
 	dev_dbg(card->dev, "probe %s dai link %d\n", card->name, num);
 
 	/* config components */
-	platform->snd_card = card->snd_card;
 	codec_dai->codec = codec;
 	codec->card = card;
 	cpu_dai->platform = platform;
-- 
1.7.1



More information about the Alsa-devel mailing list