ASoC: soc.h: fixup for_each_card_links() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 19 Jun 2019 01:27:52 +0000 (10:27 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 19 Jun 2019 10:51:52 +0000 (11:51 +0100)
Macro is using "link", not "dai_link"

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h

index 055e6d035e04f674607e830538143a933121052b..80c1ca3a62c745f7634511596c28e549c56078b0 100644 (file)
@@ -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)