summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-07-12 02:59:16 +0300
committerMark Brown <broonie@kernel.org>2016-07-16 15:03:04 +0300
commitfc55c9b5a2ea794c4b6be937522bcfe98be4770a (patch)
tree6d1c00255504c1c256b9eaa3b876a0792dc5e713 /include/sound
parent2e8d1c7d544089fe4894c504020d7ac7eb1de531 (diff)
downloadlinux-fc55c9b5a2ea794c4b6be937522bcfe98be4770a.tar.xz
ASoC: simple-card-utils: add asoc_simple_card_parse_card_name()
simple-card needs to get its card name. This patch makes this method simple style standard. 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 b88a8dcfe4ba..86088aed9002 100644
--- a/include/sound/simple_card_utils.h
+++ b/include/sound/simple_card_utils.h
@@ -30,5 +30,7 @@ int asoc_simple_card_parse_daifmt(struct device *dev,
int asoc_simple_card_set_dailink_name(struct device *dev,
struct snd_soc_dai_link *dai_link,
const char *fmt, ...);
+int asoc_simple_card_parse_card_name(struct snd_soc_card *card,
+ char *prefix);
#endif /* __SIMPLE_CARD_CORE_H */