diff mbox

[3/3] ASoC: soc.h: Arrange DAI related parameter

Message ID 87shc6xjne.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit 4855f6a6283fc8ea1f79c9f49c91940afef64ef6
Headers show

Commit Message

Kuninori Morimoto Dec. 20, 2017, 1:48 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@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@renesas.com>
---
 include/sound/soc.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

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);