summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-06-16 01:38:50 +0000
committerMark Brown <broonie@kernel.org>2017-06-16 17:58:39 +0100
commitb31f11d036e689ba9e60d581ffe8e032a6305da9 (patch)
treee64f774ea0df322524f3daf7a8448629ff1ca7a8 /include/sound
parent9fb9b2f236f05168a6138e62c82124a2f5eaf320 (diff)
ASoC: simple-card-utils: add asoc_simple_card_of_parse_widgets()
Current simple card drivers are parsing widgets on each own driver (only simple-card at this point, but will be supported on all drivers) Encapsulation is one of simple card util's purpose. Let's add asoc_simple_card_of_parse_widgets for it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/simple_card_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h
index 889c8ff86369..42c6a6ac3ce6 100644
--- a/include/sound/simple_card_utils.h
+++ b/include/sound/simple_card_utils.h
@@ -103,5 +103,7 @@ void asoc_simple_card_parse_convert(struct device *dev, char *prefix,
int asoc_simple_card_of_parse_routing(struct snd_soc_card *card,
char *prefix,
int optional);
+int asoc_simple_card_of_parse_widgets(struct snd_soc_card *card,
+ char *prefix);
#endif /* __SIMPLE_CARD_UTILS_H */