summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-12-20 01:48:44 +0000
committerMark Brown <broonie@kernel.org>2017-12-20 15:41:09 +0000
commit4855f6a6283fc8ea1f79c9f49c91940afef64ef6 (patch)
tree1c59f9c8332455175eb87789c2efe8ff28282fe6 /include/sound/soc.h
parent58bf4179000a37aa9b0ee9ab2796f7573c77fff0 (diff)
downloadlinux-4855f6a6283fc8ea1f79c9f49c91940afef64ef6.tar.bz2
ASoC: soc.h: Arrange DAI related parameter
"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>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 871e1fabd701..be6b462e2c01 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -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);