diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2008-02-28 12:34:48 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-02-29 11:28:17 +0100 |
commit | 338c7ed070bb1e068c3ae8ef14dc577e75d8aecc (patch) | |
tree | b85e3c0ae06ace9adbfe9274e514caf4dc549585 /sound/soc/pxa/tosa.c | |
parent | 31bffaa9435f14b35a8e23ed2005925f65ec6d9b (diff) | |
download | blackbird-op-linux-338c7ed070bb1e068c3ae8ef14dc577e75d8aecc.tar.gz blackbird-op-linux-338c7ed070bb1e068c3ae8ef14dc577e75d8aecc.zip |
[ALSA] ASoC: Fix DAPM widget function types in pxa machine drivers
Add kcontrol argument to functions since the API was changed by the commit
9af6d9562414568ecadf96aaef5b88e7e8b19821.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/pxa/tosa.c')
-rw-r--r-- | sound/soc/pxa/tosa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c index e4d40b528ca4..7346d7e5d066 100644 --- a/sound/soc/pxa/tosa.c +++ b/sound/soc/pxa/tosa.c @@ -135,7 +135,8 @@ static int tosa_set_spk(struct snd_kcontrol *kcontrol, } /* tosa dapm event handlers */ -static int tosa_hp_event(struct snd_soc_dapm_widget *w, int event) +static int tosa_hp_event(struct snd_soc_dapm_widget *w, + struct snd_kcontrol *k, int event) { if (SND_SOC_DAPM_EVENT_ON(event)) set_tc6393_gpio(&tc6393_device.dev,TOSA_TC6393_L_MUTE); |