summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/mikroe-proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/atmel/mikroe-proto.c')
-rw-r--r--sound/soc/atmel/mikroe-proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/mikroe-proto.c b/sound/soc/atmel/mikroe-proto.c
index 30c87c2c1b..18a8760443 100644
--- a/sound/soc/atmel/mikroe-proto.c
+++ b/sound/soc/atmel/mikroe-proto.c
@@ -21,7 +21,7 @@
static int snd_proto_init(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_card *card = rtd->card;
- struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0);
+ struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
/* Set proto sysclk */
int ret = snd_soc_dai_set_sysclk(codec_dai, WM8731_SYSCLK_XTAL,