From: Takashi Iwai Date: Mon, 1 Dec 2008 19:03:54 +0000 (+0100) Subject: ALSA: ASoC: Fix old-style trigger callback in s3c2443-ac97.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=682d5874f3d654b5d13d9b8dd56b9e05cfadd01b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ALSA: ASoC: Fix old-style trigger callback in s3c2443-ac97.c Fix the old-style trigger callback in s3c2443-ac97.c: sound/soc/s3c24xx/s3c2443-ac97.c:378: warning: initialization from incompatible pointer type Signed-off-by: Takashi Iwai --- diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c index 41bde6a3883b..f0bc9b7e0840 100644 --- a/sound/soc/s3c24xx/s3c2443-ac97.c +++ b/sound/soc/s3c24xx/s3c2443-ac97.c @@ -285,7 +285,8 @@ static int s3c2443_ac97_hw_params(struct snd_pcm_substream *substream, return 0; } -static int s3c2443_ac97_trigger(struct snd_pcm_substream *substream, int cmd) +static int s3c2443_ac97_trigger(struct snd_pcm_substream *substream, int cmd, + struct snd_soc_dai *dai) { u32 ac_glbctrl;