ASoC: Push platform registration down into the card

As part of the deprecation of snd_soc_device push the registration of
the platform down into the card structure.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Bu işleme şunda yer alıyor:
Mark Brown
2008-12-02 16:01:14 +00:00
ebeveyn 6308419a19
işleme 87689d567a
31 değiştirilmiş dosya ile 55 ekleme ve 49 silme

Dosyayı Görüntüle

@@ -145,6 +145,7 @@ static struct snd_soc_dai_link osk_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_card_osk = {
.name = "OSK5912",
.platform = &omap_soc_platform,
.dai_link = &osk_dai,
.num_links = 1,
};
@@ -152,7 +153,6 @@ static struct snd_soc_card snd_soc_card_osk = {
/* Audio subsystem */
static struct snd_soc_device osk_snd_devdata = {
.card = &snd_soc_card_osk,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_tlv320aic23,
};