ASoC: soc.h: Arrange DAI related parameter
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 20 Dec 2017 01:48:44 +0000 (01:48 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Dec 2017 15:41:09 +0000 (15:41 +0000)
"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>
include/sound/soc.h

index 871e1fa..be6b462 100644 (file)
@@ -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);