Skip to contentSkip to conversation

AMD Au1x00: make driver build after cleanup

PATCH Applied Sergei Shtylylov 2 participants 2 messages Mar 20, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AMD Au1x00: make driver build after cleanup

Hello.

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'

WBR, Sergei

sound/mips/au1x00.c +2 -0
index 6d8f8b3..9517686 100644
@@ -43,6 +43,7 @@
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/pcm.h>
+#include <sound/pcm_params.h>
 #include <sound/ac97_codec.h>
 #include <asm/mach-au1x00/au1000.h>
 #include <asm/mach-au1x00/au1000_dma.h>
@@ -153,6 +154,7 @@ au1000_setup_dma_link(struct audio_strea
 {
 	struct snd_pcm_substream *substream = stream->substream;
 	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct au1000_period *pointer;
 	unsigned long dma_start;
 	int i;
 
Applied
#1 lore raw

At Mon, 20 Mar 2006 21:26:56 +0300,

Quoted 5 lines · Sergei Shtylylov

Hello.

AMD Au1x00 ALSA driver doesn't build after the recent code cleanup:

Quoted 8 lines

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'

WBR, Sergei

Applied to CVS tree. Thanks.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642