[alsa-devel] [PATCH 3/3] ASoC: soc.h: Arrange DAI related parameter

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Dec 20 02:48:44 CET 2017


From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

"dai_list" and "num_dai" on snd_soc_component are related
parameter. Let's arrange these.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
 include/sound/soc.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/sound/soc.h b/include/sound/soc.h
index f17de1e..a34aa20 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -860,11 +860,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);
-- 
1.9.1



More information about the Alsa-devel mailing list