提交 61782e4f 编写于 作者: K Kuninori Morimoto 提交者: Mark Brown

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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 030e79f6
......@@ -848,6 +848,7 @@ struct snd_soc_platform {
};
struct snd_soc_component_driver {
const char *name;
};
struct snd_soc_component {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册