Skip to content

Commit

Permalink
ASoC: add .name for snd_soc_component_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Mar 15, 2013
1 parent 030e79f commit 61782e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ struct snd_soc_platform {
};

struct snd_soc_component_driver {
const char *name;
};

struct snd_soc_component {
Expand Down

0 comments on commit 61782e4

Please sign in to comment.