All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] AMD Au1x00: make driver build after cleanup
@ 2006-03-20 18:26 Sergei Shtylylov
  2006-03-20 18:38 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Shtylylov @ 2006-03-20 18:26 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

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


[-- Attachment #2: Au1x00-make-ALSA-driver-build-after-cleanup.patch --]
[-- Type: text/plain, Size: 624 bytes --]

diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index 6d8f8b3..9517686 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -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;
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-20 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-20 18:26 [PATCH] AMD Au1x00: make driver build after cleanup Sergei Shtylylov
2006-03-20 18:38 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.