diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-07-12 01:59:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-16 14:03:04 +0200 |
commit | fc55c9b5a2ea794c4b6be937522bcfe98be4770a (patch) | |
tree | 6d1c00255504c1c256b9eaa3b876a0792dc5e713 /include/sound | |
parent | ASoC: simple-card: use asoc_simple_card_parse_dailink_name() (diff) | |
download | linux-fc55c9b5a2ea794c4b6be937522bcfe98be4770a.tar.xz linux-fc55c9b5a2ea794c4b6be937522bcfe98be4770a.zip |
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.h | 2 |
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 */ |