From: Sergei Shtylylov Date: Mon, 20 Mar 2006 17:38:21 +0000 (+0100) Subject: [ALSA] AMD Au1x00: make driver build after cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8327c784b51b57dac2c26cfad87dce0d68dfd98;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [ALSA] AMD Au1x00: make driver build after cleanup Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver doesn't build after the recent code cleanup: sound/mips/au1x00.c: In function 'au1000_setup_dma_link': sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function) sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once sound/mips/au1x00.c:173: error: for each function it appears in.) sound/mips/au1x00.c: In function 'snd_au1000_hw_params': sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min' Signed-off-by: Takashi Iwai --- diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c index 6d8f8b3eabd0..e66b0144e3b5 100644 --- a/sound/mips/au1x00.c +++ b/sound/mips/au1x00.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -153,6 +154,7 @@ au1000_setup_dma_link(struct audio_stream *stream, unsigned int period_bytes, { struct snd_pcm_substream *substream = stream->substream; struct snd_pcm_runtime *runtime = substream->runtime; + struct au1000_period *pointer; unsigned long dma_start; int i;