]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/fsl/soc-of-simple.c
ASoC: Push platform registration down into the card
[linux-2.6-omap-h63xx.git] / sound / soc / fsl / soc-of-simple.c
index 53be6491320a944beed760873b766c5fb71f294e..8bc5cd9e972fc89a2223dc32f01c42cbffd15fea 100644 (file)
@@ -158,7 +158,7 @@ int of_snd_soc_register_platform(struct snd_soc_platform *platform,
 
        of_soc->platform_node = node;
        of_soc->dai_link.cpu_dai = cpu_dai;
-       of_soc->device.platform = platform;
+       of_soc->card.platform = platform;
        of_soc->card.name = of_soc->dai_link.cpu_dai->name;
 
        /* Now try to register the SoC device */