aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-08-19 09:51:23 -0400
committerMark Brown <broonie@linaro.org>2014-08-19 11:59:46 -0400
commit57bf772687700e206c760ba2e4097f78bde97887 (patch)
treee561664b7ac4e362ae8dac17ec33c57aeec86594 /include/sound/soc.h
parent65d9361f0cb50a20641802ee3075145d72e4409c (diff)
ASoC: Pass component instead of DAPM context to AUX dev init callback
Given that the component is the containing structure it makes more sense to pass the component rather than the DAPM context to the AUX dev init callback. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index fbc2ad840244..3a0031e1f9b4 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1022,7 +1022,7 @@ struct snd_soc_aux_dev {
1022 const struct device_node *codec_of_node; 1022 const struct device_node *codec_of_node;
1023 1023
1024 /* codec/machine specific init - e.g. add machine controls */ 1024 /* codec/machine specific init - e.g. add machine controls */
1025 int (*init)(struct snd_soc_dapm_context *dapm); 1025 int (*init)(struct snd_soc_component *component);
1026}; 1026};
1027 1027
1028/* SoC card */ 1028/* SoC card */