summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-06-19 04:27:52 +0300
committerMark Brown <broonie@kernel.org>2019-06-19 13:51:52 +0300
commit5f174cf75a8cb14d50c1cecfb3884ae82f754058 (patch)
tree829bc8ee8d8beb710142b19f997af0182429394f /include
parentac28ec07ae1c5c1e18ed6855eb105a328418da88 (diff)
downloadlinux-5f174cf75a8cb14d50c1cecfb3884ae82f754058.tar.xz
ASoC: soc.h: fixup for_each_card_links() macro
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>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
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)