diff options
Diffstat (limited to 'include/sound/soc-card.h')
-rw-r--r-- | include/sound/soc-card.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc-card.h b/include/sound/soc-card.h index e8ff2e089c..ecc02e9552 100644 --- a/include/sound/soc-card.h +++ b/include/sound/soc-card.h @@ -115,8 +115,8 @@ struct snd_soc_dai *snd_soc_card_get_codec_dai(struct snd_soc_card *card, struct snd_soc_pcm_runtime *rtd; for_each_card_rtds(card, rtd) { - if (!strcmp(asoc_rtd_to_codec(rtd, 0)->name, dai_name)) - return asoc_rtd_to_codec(rtd, 0); + if (!strcmp(snd_soc_rtd_to_codec(rtd, 0)->name, dai_name)) + return snd_soc_rtd_to_codec(rtd, 0); } return NULL; |