]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - sound/soc/pxa/tosa.c
[ALSA] ASoC: Fix DAPM widget function types in pxa machine drivers
[lisovros/linux_canprio.git] / sound / soc / pxa / tosa.c
index e4d40b528ca47e6b85017ac52529b34fece23c55..7346d7e5d066e71b84669f0fe6c054e77b003ca1 100644 (file)
@@ -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);