summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/soc-of-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/soc-of-simple.c')
-rw-r--r--sound/soc/fsl/soc-of-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/soc-of-simple.c b/sound/soc/fsl/soc-of-simple.c
index 53be6491320a..8bc5cd9e972f 100644
--- a/sound/soc/fsl/soc-of-simple.c
+++ b/sound/soc/fsl/soc-of-simple.c
@@ -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 */