summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-03-14 08:18:41 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-15 02:24:57 +0100
commit61782e4f5eb593958582524aad9b14dc98b1b56c (patch)
treef9a0eb6a9382a5a4273daa08ae02a3e79663f252 /include/sound
parentASoC: add snd_soc_register_component() (diff)
downloadlinux-61782e4f5eb593958582524aad9b14dc98b1b56c.tar.xz
linux-61782e4f5eb593958582524aad9b14dc98b1b56c.zip
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>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 8c46d0a7e2c0..44c9cbdc9fa2 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 {