]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/pxa/corgi.c
[ALSA] ASoC: Fix DAPM widget function types in pxa machine drivers
[linux-2.6-omap-h63xx.git] / sound / soc / pxa / corgi.c
index 3f34e531bebf7921d210a05e583c937535095de1..1a70a6ac98ced1a2a9a5830e7a5678df8bea7b36 100644 (file)
@@ -215,7 +215,8 @@ static int corgi_set_spk(struct snd_kcontrol *kcontrol,
        return 1;
 }
 
-static int corgi_amp_event(struct snd_soc_dapm_widget *w, int event)
+static int corgi_amp_event(struct snd_soc_dapm_widget *w,
+       struct snd_kcontrol *k, int event)
 {
        if (SND_SOC_DAPM_EVENT_ON(event))
                set_scoop_gpio(&corgiscoop_device.dev, CORGI_SCP_APM_ON);
@@ -225,7 +226,8 @@ static int corgi_amp_event(struct snd_soc_dapm_widget *w, int event)
        return 0;
 }
 
-static int corgi_mic_event(struct snd_soc_dapm_widget *w, int event)
+static int corgi_mic_event(struct snd_soc_dapm_widget *w,
+       struct snd_kcontrol *k, int event)
 {
        if (SND_SOC_DAPM_EVENT_ON(event))
                set_scoop_gpio(&corgiscoop_device.dev, CORGI_SCP_MIC_BIAS);