[alsa-devel] [PATCH] ASoC: soc.h: fixup for_each_card_links() macro
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Wed Jun 19 03:27:52 CEST 2019
From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
Macro is using "link", not "dai_link"
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
include/sound/soc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9538f50..1094cd8 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1095,7 +1095,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)
--
2.7.4
More information about the Alsa-devel
mailing list