aboutsummaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorSergei Shtylylov <sshtylyov@ru.mvista.com>2006-03-20 12:38:21 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:39:36 -0500
commitd8327c784b51b57dac2c26cfad87dce0d68dfd98 (patch)
tree6a007aef75127c6f28768dbe987ba57608cb0943 /sound/mips
parent6682025e1220a1ab0b6b855b7805928c3163e043 (diff)
[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 <tiwai@suse.de>
Diffstat (limited to 'sound/mips')
-rw-r--r--sound/mips/au1x00.c2
1 files changed, 2 insertions, 0 deletions
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 @@
43#include <sound/core.h> 43#include <sound/core.h>
44#include <sound/initval.h> 44#include <sound/initval.h>
45#include <sound/pcm.h> 45#include <sound/pcm.h>
46#include <sound/pcm_params.h>
46#include <sound/ac97_codec.h> 47#include <sound/ac97_codec.h>
47#include <asm/mach-au1x00/au1000.h> 48#include <asm/mach-au1x00/au1000.h>
48#include <asm/mach-au1x00/au1000_dma.h> 49#include <asm/mach-au1x00/au1000_dma.h>
@@ -153,6 +154,7 @@ au1000_setup_dma_link(struct audio_stream *stream, unsigned int period_bytes,
153{ 154{
154 struct snd_pcm_substream *substream = stream->substream; 155 struct snd_pcm_substream *substream = stream->substream;
155 struct snd_pcm_runtime *runtime = substream->runtime; 156 struct snd_pcm_runtime *runtime = substream->runtime;
157 struct au1000_period *pointer;
156 unsigned long dma_start; 158 unsigned long dma_start;
157 int i; 159 int i;
158 160