Skip to content

Commit

Permalink
ASoC: soc.h: Arrange DAI related parameter
Browse files Browse the repository at this point in the history
"dai_list" and "num_dai" on snd_soc_component are related
parameter. Let's arrange these.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Dec 20, 2017
1 parent 58bf417 commit 4855f6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -858,11 +858,10 @@ struct snd_soc_component {
struct list_head card_aux_list; /* for auxiliary bound components */
struct list_head card_list;

int num_dai;

const struct snd_soc_component_driver *driver;

struct list_head dai_list;
int num_dai;

int (*read)(struct snd_soc_component *, unsigned int, unsigned int *);
int (*write)(struct snd_soc_component *, unsigned int, unsigned int);
Expand Down

0 comments on commit 4855f6a

Please sign in to comment.