diff --git a/include/sound/soc.h b/include/sound/soc.h index 055e6d035e04..80c1ca3a62c7 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1230,7 +1230,7 @@ struct snd_soc_card { (i)++) #define for_each_card_links(card, link) \ - list_for_each_entry(dai_link, &(card)->dai_link_list, list) + list_for_each_entry(link, &(card)->dai_link_list, list) #define for_each_card_links_safe(card, link, _link) \ list_for_each_entry_safe(link, _link, &(card)->dai_link_list, list)