summaryrefslogtreecommitdiff
path: root/include/sound/soc-card.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-28 04:47:56 +0300
committerMark Brown <broonie@kernel.org>2020-05-30 04:11:27 +0300
commit209c6cdfd28360f030f88ae9adb69f633e6bcd2d (patch)
tree8ab3819b76172209ea14ee64d58c915ddcb1233d /include/sound/soc-card.h
parent1793936bc9081d541da2ecd2af83eded7e6212a7 (diff)
downloadlinux-209c6cdfd28360f030f88ae9adb69f633e6bcd2d.tar.xz
ASoC: soc-card: move snd_soc_card_get_kcontrol() to soc-card
Card related function should be implemented at soc-card now. This patch moves it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/87a71s25kj.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-card.h')
-rw-r--r--include/sound/soc-card.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-card.h b/include/sound/soc-card.h
index 997809bb3afb..c601eddf0975 100644
--- a/include/sound/soc-card.h
+++ b/include/sound/soc-card.h
@@ -8,4 +8,7 @@
#ifndef __SOC_CARD_H
#define __SOC_CARD_H
+struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card,
+ const char *name);
+
#endif /* __SOC_CARD_H */