[alsa-devel] [PATCH 1/2] ASoC: add .name for snd_soc_component_driver
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Mar 14 08:18:41 CET 2013
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 at renesas.com>
---
include/sound/soc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 8c46d0a..44c9cbd 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -848,6 +848,7 @@ struct snd_soc_platform {
};
struct snd_soc_component_driver {
+ const char *name;
};
struct snd_soc_component {
--
1.7.9.5
More information about the Alsa-devel
mailing list