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>
diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c
index 842d650..f8e9ecd 100644
--- a/sound/soc/pxa/zylonite.c
+++ b/sound/soc/pxa/zylonite.c
@@ -175,13 +175,13 @@
static struct snd_soc_card zylonite = {
.name = "Zylonite",
+ .platform = &pxa2xx_soc_platform,
.dai_link = zylonite_dai,
.num_links = ARRAY_SIZE(zylonite_dai),
};
static struct snd_soc_device zylonite_snd_ac97_devdata = {
.card = &zylonite,
- .platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm9713,
};