diff options
author | Liam Girdwood <lrg@ti.com> | 2011-05-12 11:14:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-12 11:40:03 -0400 |
commit | 22de71ba03311cdc1063757c50a1488cb90a1fca (patch) | |
tree | 34535f85da7635e47382db923136766511ba4c3c /include/sound | |
parent | 9e53d856af0db8acc8a1bc6a9e3298f6bbb8944b (diff) |
ASoC: core - allow ASoC more flexible machine name
Allow ASoC machine drivers to register a driver name
and a longname. This allows user space to determine
the flavour of machine driver.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index b27c7a2d3bb0..f1de3e0c75bc 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -702,6 +702,8 @@ struct snd_soc_aux_dev { | |||
702 | /* SoC card */ | 702 | /* SoC card */ |
703 | struct snd_soc_card { | 703 | struct snd_soc_card { |
704 | const char *name; | 704 | const char *name; |
705 | const char *long_name; | ||
706 | const char *driver_name; | ||
705 | struct device *dev; | 707 | struct device *dev; |
706 | struct snd_card *snd_card; | 708 | struct snd_card *snd_card; |
707 | struct module *owner; | 709 | struct module *owner; |