summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaim Girdwood <lg@opensource.wolfsonmicro.com>2008-01-10 14:41:02 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:51 +0100
commit9af6d9562414568ecadf96aaef5b88e7e8b19821 (patch)
tree710e129e7cc8838cf8ac9c5d79473685e8933dd6 /include
parent6c59e6c4129cd80834837b58a42216f0432a4f58 (diff)
downloadlinux-3.10-9af6d9562414568ecadf96aaef5b88e7e8b19821.tar.gz
linux-3.10-9af6d9562414568ecadf96aaef5b88e7e8b19821.tar.bz2
linux-3.10-9af6d9562414568ecadf96aaef5b88e7e8b19821.zip
[ALSA] soc - Add support for passing kcontrols with events
Signed-off-by: Laim Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 491f81e8984..a105b01e06d 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -289,7 +289,7 @@ struct snd_soc_dapm_widget {
/* external events */
unsigned short event_flags; /* flags to specify event types */
- int (*event)(struct snd_soc_dapm_widget*, int);
+ int (*event)(struct snd_soc_dapm_widget*, struct snd_kcontrol *, int);
/* kcontrols that relate to this widget */
int num_kcontrols;