ASoC: add .name for snd_soc_component_driver

This patch adds .name member on snd_soc_component_driver.
But this patch doesn't care about whether cmpnt_drv was NULL,
and/or its name was NULL in snd_soc_register_component()
at this point.

Because, it is easy to switch over to
snd_soc_register_component() from snd_soc_register_dais()
if it doesn't care cmpnt_drv was NULL.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Kuninori Morimoto 2013-03-14 00:18:41 -07:00 committed by Mark Brown
parent 030e79f658
commit 61782e4f5e
1 changed files with 1 additions and 0 deletions

View File

@ -848,6 +848,7 @@ struct snd_soc_platform {
};
struct snd_soc_component_driver {
const char *name;
};
struct snd_soc_component {