]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/pxa/poodle.c
[ALSA] ASoC: Fix DAPM widget function types in pxa machine drivers
[linux-2.6-omap-h63xx.git] / sound / soc / pxa / poodle.c
index 5ae59bd309a33863d05b3173c7e879df77a6372a..4fbf8bba9627322cd628fb8d21d545ebe608c658 100644 (file)
@@ -196,7 +196,8 @@ static int poodle_set_spk(struct snd_kcontrol *kcontrol,
        return 1;
 }
 
-static int poodle_amp_event(struct snd_soc_dapm_widget *w, int event)
+static int poodle_amp_event(struct snd_soc_dapm_widget *w,
+       struct snd_kcontrol *k, int event)
 {
        if (SND_SOC_DAPM_EVENT_ON(event))
                locomo_gpio_write(&poodle_locomo_device.dev,